summaryrefslogtreecommitdiffstats
path: root/configure.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CMake: Do not recommend using llvm-config anymoreKai Koehne2020-09-241-1/+1
| | | | | | | | | | cmake/FindWrapLibClang.cmake does automatically prepend environment variable and CMake variable LLVM_INSTALL_DIR to CMAKE_PREFIX_PATH. So let's document that. Change-Id: I73828e454676571beebcdc4eda3223f18824ecaa Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* CMake: Disable global promotion of Threads target using new APIAlexandru Croitor2020-08-251-3/+1
| | | | | | | | | | | Revert the previous temporary fix, and use the new API for excluding Threads target from global promotion, thus avoid a configuration error. Task-number: QTBUG-85877 Change-Id: If09d84f7deab07ec20581612d3f29143851f6fdb Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Remove makeqpfEskil Abrahamsen Blomfeldt2020-08-201-5/+0
| | | | | | | | | The QPF2 file format is no longer supported in Qt since Qt 6, so we no longer need the tool to generate it. Change-Id: I5c0131fa616f7255ca57a00d84f61f221843d869 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
* CMake: Temporarily don't promote WrapLibClang to global scopeAlexandru Croitor2020-08-131-1/+3
| | | | | | | | | | | | | | | | | | After 92ee9bd6b885879090ba57e49c8bd84a06d42b2b in qtbase, if LLVM_INSTALL_DIR is provided when configuring qttools, the configuration would fail trying to promote Threads::Threads to global scope. Temporarily remove the PROVIDED_TARGETS argument remove the automatic propagation of the target to global scope, thus avoiding the issue. A better fix will be integrated once a new change is merged to qtbase and we can use the new API for opting out of global promotion. Task-number: QTBUG-85877 Change-Id: I644ee28336c0bf7d8f89ebb2eff0a300c0851a4c Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Remove winrt specific codeOliver Wolff2020-08-061-7/+1
| | | | | | | | Task-number: QTBUG-84434 Change-Id: I9c3a661e490f3dccea893e213939953465d8970e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: André de la Rocha <andre.rocha@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* CMake: Fix configure.cmake usage for libclangAlexandru Croitor2020-06-291-0/+135
Now that the qmake situation of the configure.json files in regards to libclang is fixed, we need to adjust the CMake files to do the same. Remove the old stale configure.cmake files, create the top-level configure.cmake file, evaluate its features in src dir, and make sure to also create the forwarding headers in the global QtTools module as well. Change FindWrapLibClang to accept a version number, and modify configure.cmake to pass the minimum version to be "8". While libclang 6.x is enough to build Qt with qmake, for some reason CMake needs at least 8.x. Explicitly specifying the minimum version will prevent an old libclang library to be found in Coin, and thus breaking integrations during compilation. Once Coin is updated to include latest libclang, qdoc and lupdate will be built as usual. Change-Id: Iab8ec25d256358005850f25d6395d81e0068edfe Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>