summaryrefslogtreecommitdiffstats
path: root/examples/messagingaccounts
diff options
context:
space:
mode:
authorPekka Vuorela <pvuorela@iki.fi>2025-10-29 12:51:41 +0200
committerPekka Vuorela <pvuorela@iki.fi>2025-11-01 18:24:33 +0200
commit03f9e48370a2a0404464710c948e8d0a4472c3fa (patch)
tree8ead2dc0bb2cadcf1d1cf74dc4a5ef08cf65f6e5 /examples/messagingaccounts
parent57163875faef23fb22e2c79102870a1584f02481 (diff)
Adjust messageserver naming versions
On Qt6 it's strange to have messageserver5. Could have bumped the binary there to '6' but maybe we don't really need to highlight the qt version that much. The '5's were added to allow parallel installability but that really matters more on libraries etc rather than the server. We don't want parallel installed daemons fighting who gets autostarted first. Also on credential side it shouldn't matter which was the Qt version. Switching to newer version should still be about the same service. In practice don't think the names matter too much, and auth success is ignored so think it should be ok just changing the naming. Removed the '5's from examples too. No need there. Left the .pro file binary as it was as that side now mostly serves the Qt5 builds where we wouldn't benefit much from changing the binary name. Change-Id: Ie4a843c944caa73b080e3610baee4842500f029b Reviewed-by: Pekka Vuorela <pvuorela@iki.fi> Reviewed-by: Damien Caliste <dcaliste@free.fr> Reviewed-by: <matti.viljanen@kapsi.fi>
Diffstat (limited to 'examples/messagingaccounts')
-rw-r--r--examples/messagingaccounts/CMakeLists.txt6
-rw-r--r--examples/messagingaccounts/messagingaccounts.pro2
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/messagingaccounts/CMakeLists.txt b/examples/messagingaccounts/CMakeLists.txt
index 0251c51d..7b3ae177 100644
--- a/examples/messagingaccounts/CMakeLists.txt
+++ b/examples/messagingaccounts/CMakeLists.txt
@@ -1,6 +1,6 @@
qt_add_resources(SRC messagingaccounts.qrc)
-add_executable(messagingaccounts5 ${SRC} main_messagingaccounts.cpp)
-target_include_directories(messagingaccounts5 PRIVATE ../qtmail)
-target_link_libraries(messagingaccounts5
+add_executable(messagingaccounts ${SRC} main_messagingaccounts.cpp)
+target_include_directories(messagingaccounts PRIVATE ../qtmail)
+target_link_libraries(messagingaccounts
PUBLIC Qt6::Core QtMail)
diff --git a/examples/messagingaccounts/messagingaccounts.pro b/examples/messagingaccounts/messagingaccounts.pro
index eaccaafe..5ff2b74b 100644
--- a/examples/messagingaccounts/messagingaccounts.pro
+++ b/examples/messagingaccounts/messagingaccounts.pro
@@ -1,6 +1,6 @@
TEMPLATE = app
target.path += $$[QT_INSTALL_EXAMPLES]/qmf/messagingaccounts
-TARGET = messagingaccounts5
+TARGET = messagingaccounts
QT += widgets qmfclient qmfmessageserver qmfwidgets
QTMAIL_EXAMPLE=../qtmail