Fix declarative tests
e1fd607493
in qtbase removed the
qml1 imports enum from qlibraryinfo.cpp, qconfig.cpp, etc.
With the recent merge from dev, this was not adjusted in
qt_generate_qconfig_cpp, and thus we generated one too many strings
in qconfig.cpp, which resulted in
QLibraryInfo::location(QLibraryInfo::Qml2ImportsPath) returning
"imports" instead of "qml" subfolder, thus causing all qml modules
not being found.
Fix this by removing the extra qconfig.cpp entry, and all other
references to the location.
Change-Id: I128f667281138e2e0ef0fe1ced4af0405c532fef
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
9cd12fad8b
commit
d183c21a2c
@ -23,8 +23,6 @@ endif()
|
||||
|
||||
set(INSTALL_LIBEXECDIR "${_default_libexec}" CACHE STRING
|
||||
"Helper programs [ARCHDATADIR/bin on Windows, ARCHDATADIR/libexec otherwise]")
|
||||
set(INSTALL_IMPORTDIR "${INSTALL_ARCHDATADIR}/imports" CACHE STRING
|
||||
"QML1 imports [ARCHDATADIR/imports]")
|
||||
set(INSTALL_QMLDIR "${INSTALL_ARCHDATADIR}/qml" CACHE STRING
|
||||
"QML2 imports [ARCHDATADIR/qml]")
|
||||
set(INSTALL_DATADIR "." CACHE STRING "Arch-independent data [PREFIX]")
|
||||
@ -3256,7 +3254,6 @@ function(qt_generate_qconfig_cpp)
|
||||
qt_add_string_to_qconfig_cpp("libexec")
|
||||
qt_add_string_to_qconfig_cpp("bin")
|
||||
qt_add_string_to_qconfig_cpp("plugins")
|
||||
qt_add_string_to_qconfig_cpp("imports")
|
||||
qt_add_string_to_qconfig_cpp("qml")
|
||||
qt_add_string_to_qconfig_cpp(".")
|
||||
qt_add_string_to_qconfig_cpp(".")
|
||||
|
@ -43,7 +43,6 @@ set(QT@PROJECT_VERSION_MAJOR@_INSTALL_DATA ${QT@PROJECT_VERSION_MAJOR@_INSTALL_P
|
||||
set(QT@PROJECT_VERSION_MAJOR@_INSTALL_DOCS ${QT@PROJECT_VERSION_MAJOR@_INSTALL_PREFIX}/@INSTALL_DOCDIR@)
|
||||
set(QT@PROJECT_VERSION_MAJOR@_INSTALL_EXAMPLES ${QT@PROJECT_VERSION_MAJOR@_INSTALL_PREFIX}/@INSTALL_EXAMPLESDIR@)
|
||||
set(QT@PROJECT_VERSION_MAJOR@_INSTALL_HEADERS ${QT@PROJECT_VERSION_MAJOR@_INSTALL_PREFIX}/@INSTALL_INCLUDEDIR@)
|
||||
set(QT@PROJECT_VERSION_MAJOR@_INSTALL_IMPORTS ${QT@PROJECT_VERSION_MAJOR@_INSTALL_PREFIX}/@INSTALL_IMPORTDIR@)
|
||||
set(QT@PROJECT_VERSION_MAJOR@_INSTALL_LIBS ${QT@PROJECT_VERSION_MAJOR@_INSTALL_PREFIX}/@INSTALL_LIBDIR@)
|
||||
set(QT@PROJECT_VERSION_MAJOR@_INSTALL_LIBEXECS ${QT@PROJECT_VERSION_MAJOR@_INSTALL_PREFIX}/@INSTALL_LIBEXECDIR@)
|
||||
set(QT@PROJECT_VERSION_MAJOR@_INSTALL_PLUGINS ${QT@PROJECT_VERSION_MAJOR@_INSTALL_PREFIX}/@INSTALL_PLUGINSDIR@)
|
||||
|
Loading…
Reference in New Issue
Block a user