summaryrefslogtreecommitdiff
path: root/tests/projects/qt/widgetapp_static/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-14 18:51:09 +0800
committerruki <[email protected]>2020-11-14 18:51:09 +0800
commitd3f2f44851b4b95d91f5fc47c23fe7dc980c57d8 (patch)
tree6c72720ebb8b56507a69a116914c5b75c80bdfd5 /tests/projects/qt/widgetapp_static/xmake.lua
parentb64d782bc0ae37950aa8d5c7e155a939348820d3 (diff)
improve qt/static
Diffstat (limited to 'tests/projects/qt/widgetapp_static/xmake.lua')
-rw-r--r--tests/projects/qt/widgetapp_static/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/qt/widgetapp_static/xmake.lua b/tests/projects/qt/widgetapp_static/xmake.lua
index d1003fdd2..8ae0094bf 100644
--- a/tests/projects/qt/widgetapp_static/xmake.lua
+++ b/tests/projects/qt/widgetapp_static/xmake.lua
@@ -8,4 +8,5 @@ target("demo")
add_files("src/*.cpp")
add_files("src/mainwindow.ui")
add_files("src/mainwindow.h")
- qt_add_static_plugins("QSvgPlugin", {linkdirs = "plugins/imageformats", links = {"qsvg", "Qt5Svg"}})
+ add_frameworks("QtSvg")
+ qt_add_static_plugins("QSvgPlugin", {linkdirs = "plugins/imageformats", links = {"qsvg"}})