4
0
mirror of https://github.com/QuasarApp/CMakeProject.git synced 2025-04-26 05:34:34 +00:00

remove quick

This commit is contained in:
Andrei Yankovich 2021-09-09 20:44:47 +03:00
parent 68535faa45
commit 907402e101
3 changed files with 4 additions and 6 deletions

View File

@ -25,9 +25,9 @@ if (ANDROID)
endif()
if (NOT QT_VERSION_MAJOR)
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Quick Test QUIET)
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Test QUIET)
endif()
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Quick Test QUIET)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Test QUIET)
include(submodules/CMake/QuasarApp.cmake)

View File

@ -89,7 +89,8 @@ else()
endif()
if(QT_VERSION_MAJOR EQUAL 6)
qt_import_qml_plugins(${CURRENT_PROJECT})
# Add This line if your project use the Quick module
# qt_import_qml_plugins(${CURRENT_PROJECT})
qt_finalize_executable(${CURRENT_PROJECT})
endif()

View File

@ -7,9 +7,6 @@
#include "RENAME_ME_global.h"
#ifdef Q_OS_ANDROID
#include <QObject>
#endif
inline void initRENAME_MEResources() { Q_INIT_RESOURCE(RENAME_ME); }
namespace RENAME_ME {