summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-17 00:29:59 +0800
committerruki <[email protected]>2018-04-16 20:59:58 +0800
commit811bda9a12d7cecfaac97f2ab9943daa4e627396 (patch)
tree4da40a60fb6ffc7202bf54a22cda561da1ed458c /tests/projects
parent05f1e2189edb9cdab244a19f170bbccf1938c90e (diff)
improve qt rules
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/qt_console/xmake.lua2
-rw-r--r--tests/projects/qt_shared_library/xmake.lua2
-rw-r--r--tests/projects/qt_static_library/xmake.lua2
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/projects/qt_console/xmake.lua b/tests/projects/qt_console/xmake.lua
index 0ab7a6b23..4ff829575 100644
--- a/tests/projects/qt_console/xmake.lua
+++ b/tests/projects/qt_console/xmake.lua
@@ -11,3 +11,5 @@ target("qt_console")
-- add files
add_files("src/*.cpp")
+ -- add frameworks
+ add_frameworks("QtCore")
diff --git a/tests/projects/qt_shared_library/xmake.lua b/tests/projects/qt_shared_library/xmake.lua
index f858b266c..7fb713393 100644
--- a/tests/projects/qt_shared_library/xmake.lua
+++ b/tests/projects/qt_shared_library/xmake.lua
@@ -17,3 +17,5 @@ target("qt_demo")
-- add defines
add_defines("QT_DEMO_LIBRARY")
+ -- add frameworks
+ add_frameworks("QtGui", "QtCore")
diff --git a/tests/projects/qt_static_library/xmake.lua b/tests/projects/qt_static_library/xmake.lua
index e69538015..42e208787 100644
--- a/tests/projects/qt_static_library/xmake.lua
+++ b/tests/projects/qt_static_library/xmake.lua
@@ -14,3 +14,5 @@ target("qt_demo")
-- add files
add_files("src/*.cpp")
+ -- add frameworks
+ add_frameworks("QtGui", "QtCore")