aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-15 13:59:35 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-15 13:59:35 +0200
commit5f3ed920fe849413ad89505075bb7135866a3082 (patch)
tree9033212714c60475798c86ddc372bedc908b624f /src
parentRemove -march and -mtune from default release flags (diff)
downloadsmolbote-5f3ed920fe849413ad89505075bb7135866a3082.tar.xz
Add workaround for QTBUG-62511
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d6866ac..975cc1b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -57,6 +57,10 @@ set(srclist
${PROJECT_SOURCE_DIR}/include/browserinterface.h
)
+if(CONFIG_QTBUG-62511)
+ set_property(SOURCE ${PROJECT_SOURCE_DIR}/data/resources.qrc PROPERTY AUTORCC_OPTIONS "--format-version=1")
+endif(CONFIG_QTBUG-62511)
+
# if you are using a custom build location for breakpad:
#if(CONFIG_USEBREAKPAD)
# link_directories("${BREAKPAD_LIBRARY_DIRS}")