diff options
| author | ruki <[email protected]> | 2018-04-18 22:40:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-04-18 10:00:35 +0800 |
| commit | e751e95930ca8dabb61169eb2c695f70f8f907a0 (patch) | |
| tree | ad27ab7fd9c5af3600d6a0f0d0451def222a2351 /tests/projects | |
| parent | 383f44f85f2fd209a65d3bc58b28558ce5028051 (diff) | |
compile qt moc header
Diffstat (limited to 'tests/projects')
| -rw-r--r-- | tests/projects/qt_widgetapp/xmake.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/projects/qt_widgetapp/xmake.lua b/tests/projects/qt_widgetapp/xmake.lua index d0b8f1b4a..1d1a3ba3a 100644 --- a/tests/projects/qt_widgetapp/xmake.lua +++ b/tests/projects/qt_widgetapp/xmake.lua @@ -15,5 +15,8 @@ target("qt_demo") add_files("src/*.cpp") add_files("src/mainwindow.ui") + -- add files with Q_OBJECT meta (only for qt.moc) + add_files("src/mainwindow.h") + -- add frameworks add_frameworks("QtWidgets") |
