Skip to content

Commit

Permalink
Fix QT Creator QML import path
Browse files Browse the repository at this point in the history
  • Loading branch information
Oriane Chagnon committed Oct 19, 2020
1 parent 40dc0f5 commit 18c4afd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(QML_IMPORT_PATH ${CMAKE_SOURCE_DIR}/qml ${FETCHCONTENT_BASE_DIR}/qaterial-src/qml CACHE STRING "" FORCE)

# QtCreator supports the following variables for Android, which are identical to qmake Android variables.
# Check http://doc.qt.io/qt-5/deployment-android.html for more information.
# They need to be set before the find_package(Qt5 ...) call.
Expand Down

0 comments on commit 18c4afd

Please sign in to comment.