[PATCH 1 of 5] Readd icon to the resource files (have to be linked with main)

Wald Commits scm-commit at wald.intevation.org
Tue May 27 12:29:09 CEST 2014


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1401118090 0
# Node ID a677cffcaed405701f6344a6937bede6b06f6b0d
# Parent  ab2d62fe281578051ff72dab517938c8b61e55d4
Readd icon to the resource files (have to be linked with main)

diff -r ab2d62fe2815 -r a677cffcaed4 ui/CMakeLists.txt
--- a/ui/CMakeLists.txt	Mon May 26 09:33:18 2014 +0000
+++ b/ui/CMakeLists.txt	Mon May 26 15:28:10 2014 +0000
@@ -34,7 +34,6 @@
     ${CMAKE_CURRENT_SOURCE_DIR}/certificateitemdelegate.cpp
     ${CMAKE_CURRENT_SOURCE_DIR}/separatoritemdelegate.cpp
     ${CMAKE_CURRENT_SOURCE_DIR}/installwrapper.cpp
-    ${CMAKE_CURRENT_SOURCE_DIR}/img/icon.rc
     ${CMAKE_CURRENT_SOURCE_DIR}/aboutdialog.cpp
     ${CERTIFICATELIST_SOURCES}
     ${DOWNLOADER_SOURCES}
@@ -104,7 +103,8 @@
 
 # Adding resources here in an extra variable to enable reuse of
 # TRUSTBRIDGE_SOURCES in the test subdirectory.
-set(TRUSTBRIDGE_MAIN_WITH_RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp)
+set(TRUSTBRIDGE_MAIN_WITH_RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp
+    ${CMAKE_CURRENT_SOURCE_DIR}/img/icon.rc)
 qt5_add_resources(TRUSTBRIDGE_MAIN_WITH_RESOURCES ${TRUSTBRIDGE_RESOURCES})
 
 set(ADMINISTRATOR_MAIN_WITH_RESOURCES ${CMAKE_CURRENT_SOURCE_DIR}/administrator.cpp)


More information about the Trustbridge-commits mailing list