-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andrea Ricchi <[email protected]>
- Loading branch information
1 parent
6371090
commit d28018d
Showing
19 changed files
with
197 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,17 @@ | ||
qt_add_executable(example WIN32 MACOSX_BUNDLE | ||
main.cpp | ||
) | ||
target_compile_definitions(example PRIVATE | ||
QT_DEPRECATED_WARNINGS | ||
) | ||
qt_add_executable(example WIN32 MACOSX_BUNDLE main.cpp) | ||
target_compile_definitions(example PRIVATE QT_DEPRECATED_WARNINGS) | ||
|
||
target_link_libraries(example PRIVATE | ||
Qt::Core | ||
Qt::Gui | ||
Qt::Quick | ||
) | ||
target_link_libraries(example PRIVATE Qt::Core Qt::Gui Qt::Quick) | ||
|
||
set(qml_resource_files | ||
"main.qml" | ||
) | ||
set(qml_resource_files "main.qml") | ||
|
||
qt_add_resources(example "qml" | ||
PREFIX | ||
"/" | ||
FILES | ||
${qml_resource_files} | ||
) | ||
qt_add_resources(example "qml" PREFIX "/" FILES ${qml_resource_files}) | ||
|
||
install(TARGETS example | ||
BUNDLE DESTINATION . | ||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} | ||
) | ||
install( | ||
TARGETS example | ||
BUNDLE DESTINATION . | ||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) | ||
|
||
qt_generate_deploy_app_script( | ||
TARGET example | ||
FILENAME_VARIABLE deploy_script | ||
NO_UNSUPPORTED_PLATFORM_ERROR | ||
) | ||
qt_generate_deploy_app_script(TARGET example FILENAME_VARIABLE deploy_script | ||
NO_UNSUPPORTED_PLATFORM_ERROR) | ||
install(SCRIPT ${deploy_script}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.