summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorPekka Vuorela <pvuorela@iki.fi>2025-11-21 10:26:26 +0200
committerPekka Vuorela <pvuorela@iki.fi>2025-11-26 11:33:16 +0200
commitd532a1b2b068ac4a7e5ccac764585daee366b8fc (patch)
tree0dccd7311a8dcd28d961b613bedec9e62148d42f /src/plugins
parentd433b8398abd210e1f3b9afc53ede28932cf6a45 (diff)
Repurpose .pro files for qt5 support - almost works
There's still need for having qt5 support out there and the .pro files don't anyway compile with qt6 by now. Adjusting those and the code to build on qt5 didn't even require much adjustments. The hack to get _p.h includes work without private prefix, that used to be there for qmake build, is horrible but at least it's relatively small and affecting only .pro files. The examples had some existing issues building there, missing includes and not entirely disabled protocol editor support. The "almost works" part: builds fine but the metatype side is slightly lacking, resulting also a unit test failure. On qt5 qmailipc.h would need qRegisterMetaTypeStreamOperators() call after qRegisterMetaType() but I'm not eager to add qt version ifdeffing inside a macro, at least now. Hoping to clean up the whole metatype registration first. Change-Id: I6e620175383690ce4e6eb4c841e314ccf031026f Reviewed-by: Damien Caliste <dcaliste@free.fr> Reviewed-by: <matti.viljanen@kapsi.fi> Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/messageservices/imap/imap.pro2
-rw-r--r--src/plugins/messageservices/pop/pop.pro3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/messageservices/imap/imap.pro b/src/plugins/messageservices/imap/imap.pro
index 09955b59..d8d34b55 100644
--- a/src/plugins/messageservices/imap/imap.pro
+++ b/src/plugins/messageservices/imap/imap.pro
@@ -39,3 +39,5 @@ qtConfig(system-zlib) {
QT_PRIVATE += zlib-private
}
+# hack longstream work without the private/ on include
+INCLUDEPATH += $$PWD/../../../libraries/qmfmessageserver/
diff --git a/src/plugins/messageservices/pop/pop.pro b/src/plugins/messageservices/pop/pop.pro
index bbbe3c06..0c7297c5 100644
--- a/src/plugins/messageservices/pop/pop.pro
+++ b/src/plugins/messageservices/pop/pop.pro
@@ -17,3 +17,6 @@ SOURCES += popclient.cpp \
poplog.cpp \
popservice.cpp \
popauthenticator.cpp
+
+# hack longstream work without the private/ on include
+INCLUDEPATH += $$PWD/../../../libraries/qmfmessageserver/