diff options
| author | ruki <[email protected]> | 2020-11-14 18:51:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-14 18:51:09 +0800 |
| commit | d3f2f44851b4b95d91f5fc47c23fe7dc980c57d8 (patch) | |
| tree | 6c72720ebb8b56507a69a116914c5b75c80bdfd5 /tests | |
| parent | b64d782bc0ae37950aa8d5c7e155a939348820d3 (diff) | |
improve qt/static
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/projects/qt/widgetapp_static/xmake.lua | 3 |
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"}}) |
