conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
958 stars 1.75k forks source link

[package] qt/q6.7.3: cppstd version is not propagated correctly #25651

Closed weynaa closed 5 days ago

weynaa commented 5 days ago

Description

For some reason it is insufficient for me to set compiler.cppstd to 20 to compile qt with the /std:c++20 flag. I need to use the C++20 flag for qt to avoid the same linkage issue issue with the coroutine ABI as https://github.com/conan-io/conan-center-index/issues/15001.

-- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release'
            -DCMAKE_C_FLAGS=/DWIN32 /D_WINDOWS
            -DCMAKE_C_FLAGS_DEBUG=/Zi /Ob0 /Od /RTC1
            -DCMAKE_C_FLAGS_RELEASE=/O2 /Ob2 /DNDEBUG
            -DCMAKE_C_FLAGS_RELWITHDEBINFO=/Zi /O2 /Ob1 /DNDEBUG
            -DCMAKE_CXX_FLAGS=/DWIN32 /D_WINDOWS /EHsc
            -DCMAKE_CXX_FLAGS_DEBUG=/Zi /Ob0 /Od /RTC1
            -DCMAKE_CXX_FLAGS_RELEASE=/O2 /Ob2 /DNDEBUG
            -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=/Zi /O2 /Ob1 /DNDEBUG
            -DCMAKE_EXE_LINKER_FLAGS=/machine:x64
            -DCMAKE_TOOLCHAIN_FILE=D:/conan-cache/b/qt3696224efa16c/b/build/generators/conan_toolchain.cmake
            -DCMAKE_C_STANDARD=11
            -DCMAKE_C_STANDARD_REQUIRED=ON
            -DCMAKE_CXX_STANDARD=17
            -DCMAKE_CXX_STANDARD_REQUIRED=ON
            -DCMAKE_MODULE_PATH:STRING=D:/conan-cache/qt2bd365c604ca6/s/src/qtbase/cmake/platforms

The DCMAKE_CXX_STANDARD log here should denote C++20.

Package and Environment Details

Conan profile

Profile host: [settings] arch=x86_64 build_type=Release compiler=msvc compiler.cppstd=20 compiler.runtime=dynamic compiler.runtime_type=Release compiler.version=194 os=Windows [conf]

Profile build: [settings] arch=x86_64 build_type=Release compiler=msvc compiler.cppstd=20 compiler.runtime=dynamic compiler.runtime_type=Release compiler.version=194 os=Windows [conf]

Steps to reproduce

conan install --requires=qt/6.7.3 -s compiler.cppstd=20 -u --build qt*

Logs

Click to expand log ``` λ conan install --requires=qt/6.7.3 -s compiler.cppstd=20 -u --build qt* ======== Input profiles ======== Profile host: [settings] arch=x86_64 build_type=Release compiler=msvc compiler.cppstd=20 compiler.runtime=dynamic compiler.runtime_type=Release compiler.version=194 os=Windows [conf] Profile build: [settings] arch=x86_64 build_type=Release compiler=msvc compiler.cppstd=20 compiler.runtime=dynamic compiler.runtime_type=Release compiler.version=194 os=Windows [conf] ======== Computing dependency graph ======== qt/6.7.3: Checking remote: conancenter qt/6.7.3: qt6: requested modules [] zlib/1.3.1: Checking remote: conancenter openssl/3.3.2: Checking remote: conancenter nasm/2.16.01: Checking remote: conancenter strawberryperl/5.32.1.1: Checking remote: conancenter pcre2/10.42: Checking remote: conancenter bzip2/1.0.8: Checking remote: conancenter double-conversion/3.3.0: Checking remote: conancenter freetype/2.13.2: Checking remote: conancenter libpng/1.6.44: Checking remote: conancenter brotli/1.1.0: Checking remote: conancenter meson/1.3.2: Checking remote: conancenter ninja/1.12.1: Checking remote: conancenter pkgconf/2.1.0: Checking remote: conancenter meson/1.2.2: Checking remote: conancenter harfbuzz/8.3.0: Checking remote: conancenter glib/2.78.3: Checking remote: conancenter libffi/3.4.4: Checking remote: conancenter msys2/cci.latest: Checking remote: conancenter automake/1.16.5: Checking remote: conancenter autoconf/2.71: Checking remote: conancenter m4/1.4.19: Checking remote: conancenter libgettext/0.22: Checking remote: conancenter libiconv/1.17: Checking remote: conancenter meson/1.5.1: Checking remote: conancenter pkgconf/2.0.3: Checking remote: conancenter meson/1.4.0: Checking remote: conancenter sqlite3/3.46.1: Checking remote: conancenter libpq/15.4: Checking remote: conancenter md4c/0.4.8: Checking remote: conancenter cmake/3.30.5: Checking remote: conancenter pkgconf/2.2.0: Checking remote: conancenter Graph root cli Requirements brotli/1.1.0#d56d7bb9ca722942aba17369cb5c0519 - Cache (conancenter) bzip2/1.0.8#d00dac990f08d991998d624be81a9526 - Cache (conancenter) double-conversion/3.3.0#33321c201741cc32b51169c6d2d05e60 - Cache (conancenter) freetype/2.13.2#5d2563803c8558d4ef47271a82c73d20 - Cache (conancenter) glib/2.78.3#0d214f34a22088571a43892d3fd41093 - Cache (conancenter) harfbuzz/8.3.0#c83405ed297bad6c9e9587e2a19c686a - Cache (conancenter) libffi/3.4.4#72cccac6139293b6e97ec9cd676547ff - Cache (conancenter) libgettext/0.22#35d2811b2dd27a98f69e4daa86ca2000 - Cache (conancenter) libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache (conancenter) libpng/1.6.44#9e1aa08fb46946c7c91e4ae03bd49811 - Cache (conancenter) libpq/15.4#a3354d556287c3d091c9f4d578b66ec8 - Cache (conancenter) md4c/0.4.8#9b5da52e0c0b803bb0d1a4b9fdfe10b1 - Cache (conancenter) openssl/3.3.2#9f9f130d58e7c13e76bb8a559f0a6a8b - Cache (conancenter) pcre2/10.42#ac2227071f79a062167cf2fee7189d66 - Cache (conancenter) qt/6.7.3#03632094d9e141e32da10ce6ea9ef6a5 - Cache (conancenter) sqlite3/3.46.1#3af96a6e95bb5a1c183ca6ead71592cc - Cache (conancenter) zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache (conancenter) Build requirements autoconf/2.71#f9307992909d7fb3df459340f1932809 - Cache (conancenter) automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache (conancenter) bzip2/1.0.8#d00dac990f08d991998d624be81a9526 - Cache (conancenter) cmake/3.30.5#540068cc37f1d21b42b729c82d6bcb29 - Cache (conancenter) glib/2.78.3#0d214f34a22088571a43892d3fd41093 - Cache (conancenter) libffi/3.4.4#72cccac6139293b6e97ec9cd676547ff - Cache (conancenter) libgettext/0.22#35d2811b2dd27a98f69e4daa86ca2000 - Cache (conancenter) libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache (conancenter) m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache (conancenter) meson/1.2.2#21b73818ba96d9eea465b310b5bbc993 - Cache (conancenter) meson/1.3.2#26ce8a76a36cc275cdfee1d757bc6561 - Cache (conancenter) meson/1.4.0#2262941cc8fbb0099dd0c196ca2a6c01 - Cache (conancenter) meson/1.5.1#98751d4b5aa14502306753baa607ac44 - Cache (conancenter) msys2/cci.latest#f6bb451a181a3f452024ea43ca744061 - Cache (conancenter) nasm/2.16.01#d0aebbd20ccbb6ad9c9c753ab708098c - Cache (conancenter) ninja/1.12.1#fd583651bf0c6a901943495d49878803 - Cache (conancenter) pcre2/10.42#ac2227071f79a062167cf2fee7189d66 - Cache (conancenter) pkgconf/2.0.3#f996677e96e61e6552d85e83756c328b - Cache (conancenter) pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Cache (conancenter) pkgconf/2.2.0#6462942a22803086372db44689ba825f - Cache (conancenter) strawberryperl/5.32.1.1#707032463aa0620fa17ec0d887f5fe41 - Cache (conancenter) zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache (conancenter) Resolved version ranges cmake/[>=3.21.1 <4]: cmake/3.30.5 libpng/[>=1.6 <2]: libpng/1.6.44 meson/[>=1.2.3 <2]: meson/1.5.1 ninja/[>=1.10.2 <2]: ninja/1.12.1 ninja/[>=1.12 <2]: ninja/1.12.1 openssl/[>=1.1 <4]: openssl/3.3.2 pkgconf/[>=2.2 <3]: pkgconf/2.2.0 sqlite3/[>=3.45.0 <4]: sqlite3/3.46.1 zlib/[>=1.2.11 <2]: zlib/1.3.1 ======== Computing necessary packages ======== brotli/1.1.0: Main binary package '63fa1378b94465c42f6063f7622f977d75f1988f' missing brotli/1.1.0: Checking 1 compatible configurations brotli/1.1.0: '75df3523cadfb3cb5a2c1cc2d61e8c640e1f9b96': compiler.version=193 brotli/1.1.0: Found compatible package '75df3523cadfb3cb5a2c1cc2d61e8c640e1f9b96': compiler.version=193 bzip2/1.0.8: Main binary package '885590b8d4960dd9be0d7cd4c17646ce20f8a9aa' missing bzip2/1.0.8: Checking 1 compatible configurations bzip2/1.0.8: '67bfcb7b4b78262b9d05495e479dcd92f747316b': compiler.version=193 bzip2/1.0.8: Found compatible package '67bfcb7b4b78262b9d05495e479dcd92f747316b': compiler.version=193 double-conversion/3.3.0: Main binary package '6119fcdeccb25969de15c5fd8a88f617d4396ca6' missing double-conversion/3.3.0: Checking 7 compatible configurations double-conversion/3.3.0: '4d8ab52ebb49f51e63d5193ed580b5a7672e23d5': compiler.cppstd=14 double-conversion/3.3.0: '2e51ec0fde483876cccf2be6dea756a2dd099bd4': compiler.cppstd=17 double-conversion/3.3.0: '45e8a45afbc2fb78d7f7110b50ed088718ea3115': compiler.cppstd=23 double-conversion/3.3.0: '9bdee485ef71c14ac5f8a657202632bdb8b4482b': compiler.cppstd=14, compiler.version=193 double-conversion/3.3.0: Found compatible package '9bdee485ef71c14ac5f8a657202632bdb8b4482b': compiler.cppstd=14, compiler.version=193 md4c/0.4.8: Main binary package 'b8c83f42fcbc4a2ee1b577eba2103a2b0b32b49e' missing md4c/0.4.8: Checking 1 compatible configurations md4c/0.4.8: '7958555b8b302b993b5351a21819820a36a243ce': compiler.version=193 md4c/0.4.8: Found compatible package '7958555b8b302b993b5351a21819820a36a243ce': compiler.version=193 sqlite3/3.46.1: Main binary package 'abbddf7faf5f0b3b7b2e88fb2d7612a81a05cad5' missing sqlite3/3.46.1: Checking 1 compatible configurations sqlite3/3.46.1: '2390fed5d13307e3b6e2379eb01b1a4af6af2f1c': compiler.version=193 sqlite3/3.46.1: Found compatible package '2390fed5d13307e3b6e2379eb01b1a4af6af2f1c': compiler.version=193 zlib/1.3.1: Main binary package '0d6dd492a7d31822b2f2686ec67bbaef586416a3' missing zlib/1.3.1: Checking 1 compatible configurations zlib/1.3.1: '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193 zlib/1.3.1: Found compatible package '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193 libiconv/1.17: Main binary package '0d6dd492a7d31822b2f2686ec67bbaef586416a3' missing libiconv/1.17: Checking 1 compatible configurations libiconv/1.17: '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193 libiconv/1.17: Found compatible package '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193 libpng/1.6.44: Main binary package '8ff616ba4ff1d638b8e6a308f5417275d7fecfba' missing libpng/1.6.44: Checking 1 compatible configurations libpng/1.6.44: 'e0d2306461d10438fbd847f0556a0f0ac5653d3a': compiler.version=193 libpng/1.6.44: Found compatible package 'e0d2306461d10438fbd847f0556a0f0ac5653d3a': compiler.version=193 libpq/15.4: Main binary package '58dcf31c874f1946d75eb9f24f8e71a1e9f01e67' missing libpq/15.4: Checking 1 compatible configurations libpq/15.4: '05bf1a61df8ad420b533b8f994d863f4ee516906': compiler.version=193 libpq/15.4: Found compatible package '05bf1a61df8ad420b533b8f994d863f4ee516906': compiler.version=193 pcre2/10.42: Main binary package '8028e360bf5d98436618504db6a7c202635047dd' missing pcre2/10.42: Checking 1 compatible configurations pcre2/10.42: 'a8f02c534498a9c50d17d64ad58c9683285f711c': compiler.version=193 pcre2/10.42: Found compatible package 'a8f02c534498a9c50d17d64ad58c9683285f711c': compiler.version=193 openssl/3.3.2: Main binary package '28abdbfc5f7554635c526cc38d233f2beb62ab28' missing openssl/3.3.2: Checking 1 compatible configurations openssl/3.3.2: '2bcf959ecd653496ee2aa793e11b67c013b3b876': compiler.version=193 openssl/3.3.2: Found compatible package '2bcf959ecd653496ee2aa793e11b67c013b3b876': compiler.version=193 freetype/2.13.2: Main binary package 'f12fe537d2457525b972d539f07a3592021673bd' missing freetype/2.13.2: Checking 1 compatible configurations freetype/2.13.2: '79f73b3fcb4ea3718b05e96b46594ae8f2ec3895': compiler.version=193 freetype/2.13.2: Found compatible package '79f73b3fcb4ea3718b05e96b46594ae8f2ec3895': compiler.version=193 libffi/3.4.4: Main binary package '0d6dd492a7d31822b2f2686ec67bbaef586416a3' missing libffi/3.4.4: Checking 1 compatible configurations libffi/3.4.4: '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193 libffi/3.4.4: Found compatible package '7bfde258ff4f62f75668d0896dbddedaa7480a0f': compiler.version=193 libgettext/0.22: Main binary package '10f045c3f105c26963fc784146339b2babbb485e' missing libgettext/0.22: Checking 1 compatible configurations libgettext/0.22: '55052839d1d508208c0cd4c7594a7001c70287d1': compiler.version=193 libgettext/0.22: Found compatible package '55052839d1d508208c0cd4c7594a7001c70287d1': compiler.version=193 glib/2.78.3: Main binary package 'd71cbbbdbf3a2806f340791e6c5679043bf28e2b' missing glib/2.78.3: Checking 1 compatible configurations glib/2.78.3: '750e9c8cf560085c96c0fa42531c45c18af8be50': compiler.version=193 glib/2.78.3: Found compatible package '750e9c8cf560085c96c0fa42531c45c18af8be50': compiler.version=193 harfbuzz/8.3.0: Main binary package '93a172efd3b7df9d28dc3f13f1032899650e0ec9' missing harfbuzz/8.3.0: Checking 7 compatible configurations harfbuzz/8.3.0: '0ef3e60b9e935904da87412ec9a6ad7f979cc811': compiler.cppstd=14 harfbuzz/8.3.0: '20121d7924f8a15c5bb0cc6a430cae92b6274861': compiler.cppstd=17 harfbuzz/8.3.0: 'd4ee87977f452e6822feba843054861e09437e1d': compiler.cppstd=23 harfbuzz/8.3.0: '94203641fd48e51e6df556cb251ad960ea97eac7': compiler.cppstd=14, compiler.version=193 harfbuzz/8.3.0: Found compatible package '94203641fd48e51e6df556cb251ad960ea97eac7': compiler.cppstd=14, compiler.version=193 qt/6.7.3: Forced build from source Requirements brotli/1.1.0#d56d7bb9ca722942aba17369cb5c0519:75df3523cadfb3cb5a2c1cc2d61e8c640e1f9b96#249943a2756eb869cac284274651a4ab - Cache bzip2/1.0.8#d00dac990f08d991998d624be81a9526:67bfcb7b4b78262b9d05495e479dcd92f747316b#e4aa22ae3a31782994f99b4be58625c9 - Cache double-conversion/3.3.0#33321c201741cc32b51169c6d2d05e60:9bdee485ef71c14ac5f8a657202632bdb8b4482b#2676cc725a3e2249b2b2811c48133298 - Cache freetype/2.13.2#5d2563803c8558d4ef47271a82c73d20:79f73b3fcb4ea3718b05e96b46594ae8f2ec3895#e9b07b14b986a38f75b0b42e3ea40f9e - Cache glib/2.78.3#0d214f34a22088571a43892d3fd41093:750e9c8cf560085c96c0fa42531c45c18af8be50#7c94464b990a2ea2432e7fdfbb92d62a - Cache harfbuzz/8.3.0#c83405ed297bad6c9e9587e2a19c686a:94203641fd48e51e6df556cb251ad960ea97eac7#46e86afc1ed6bc8e4ef7418e855fd75f - Cache libffi/3.4.4#72cccac6139293b6e97ec9cd676547ff:7bfde258ff4f62f75668d0896dbddedaa7480a0f#52c626b0bc2a5198a38d8da02c860a81 - Cache libgettext/0.22#35d2811b2dd27a98f69e4daa86ca2000:55052839d1d508208c0cd4c7594a7001c70287d1#71ff5f09cf773c825d12a5559e11c782 - Cache libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:7bfde258ff4f62f75668d0896dbddedaa7480a0f#9ef92719f5c05dca2f0dbb46f50d3f8d - Cache libpng/1.6.44#9e1aa08fb46946c7c91e4ae03bd49811:e0d2306461d10438fbd847f0556a0f0ac5653d3a#aae40fd00dee0d85633d5a33c7be64b9 - Cache libpq/15.4#a3354d556287c3d091c9f4d578b66ec8:05bf1a61df8ad420b533b8f994d863f4ee516906#5c9acff5b16df22c5628c816a713c21a - Cache md4c/0.4.8#9b5da52e0c0b803bb0d1a4b9fdfe10b1:7958555b8b302b993b5351a21819820a36a243ce#bc7a32845a90b2ce56aef34b4220be62 - Cache openssl/3.3.2#9f9f130d58e7c13e76bb8a559f0a6a8b:2bcf959ecd653496ee2aa793e11b67c013b3b876#10e0710d2ba88f9b075cf4a105e23cb5 - Cache pcre2/10.42#ac2227071f79a062167cf2fee7189d66:a8f02c534498a9c50d17d64ad58c9683285f711c#083959630a40e650db470056556701fd - Cache qt/6.7.3#03632094d9e141e32da10ce6ea9ef6a5:f3530c066a055de8dcb783c107a1ead796bb92b7 - Build sqlite3/3.46.1#3af96a6e95bb5a1c183ca6ead71592cc:2390fed5d13307e3b6e2379eb01b1a4af6af2f1c#cb32cf7ab9d125614853476d2016e082 - Cache zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:7bfde258ff4f62f75668d0896dbddedaa7480a0f#20d10b761ec15eed7a1d61c86bc7415a - Cache Build requirements cmake/3.30.5#540068cc37f1d21b42b729c82d6bcb29:522dcea5982a3f8a5b624c16477e47195da2f84f#b00daa5e3c3e7de6ec964d31bbc37e14 - Cache ninja/1.12.1#fd583651bf0c6a901943495d49878803:723257509aee8a72faf021920c2874abc738e029#360592e21b5a6812030b65cbdd1c4a8d - Cache pkgconf/2.2.0#6462942a22803086372db44689ba825f:43771b8671ac44479c188dd72670e2eb2d7918a6#7bf2c1dc194cbb493a2cce6721fb7c01 - Cache strawberryperl/5.32.1.1#707032463aa0620fa17ec0d887f5fe41:522dcea5982a3f8a5b624c16477e47195da2f84f#a365b3810f698e2f0a00fbeece022903 - Cache Skipped binaries autoconf/2.71, automake/1.16.5, bzip2/1.0.8, glib/2.78.3, libffi/3.4.4, libgettext/0.22, libiconv/1.17, m4/1.4.19, meson/1.2.2, meson/1.3.2, meson/1.4.0, meson/1.5.1, msys2/cci.latest, nasm/2.16.01, pcre2/10.42, pkgconf/2.0.3, pkgconf/2.1.0, zlib/1.3.1 ======== Installing packages ======== brotli/1.1.0: Already installed! (1 of 21) bzip2/1.0.8: Already installed! (2 of 21) cmake/3.30.5: Already installed! (3 of 21) cmake/3.30.5: Appending PATH environment variable: D:\conan-cache\cmakefb3b433358da1\p\bin double-conversion/3.3.0: Already installed! (4 of 21) md4c/0.4.8: Already installed! (5 of 21) ninja/1.12.1: Already installed! (6 of 21) sqlite3/3.46.1: Already installed! (7 of 21) strawberryperl/5.32.1.1: Already installed! (8 of 21) zlib/1.3.1: Already installed! (9 of 21) libiconv/1.17: Already installed! (10 of 21) libpq/15.4: Already installed! (11 of 21) pkgconf/2.2.0: Already installed! (12 of 21) pkgconf/2.2.0: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version. libffi/3.4.4: Already installed! (13 of 21) libpng/1.6.44: Already installed! (14 of 21) pcre2/10.42: Already installed! (15 of 21) pcre2/10.42: Appending PATH environment variable: D:\conan-cache\pcre25c6adfc126755\p\bin openssl/3.3.2: Already installed! (16 of 21) libgettext/0.22: Already installed! (17 of 21) freetype/2.13.2: Already installed! (18 of 21) glib/2.78.3: Already installed! (19 of 21) harfbuzz/8.3.0: Already installed! (20 of 21) -------- Installing package qt/6.7.3 (21 of 21) -------- qt/6.7.3: Building from source qt/6.7.3: Package qt/6.7.3:f3530c066a055de8dcb783c107a1ead796bb92b7 qt/6.7.3: Building your package in D:\conan-cache\b\qt3696224efa16c\b qt/6.7.3: Calling generate() qt/6.7.3: Generators folder: D:\conan-cache\b\qt3696224efa16c\b\build\generators qt/6.7.3: CMakeDeps necessary find_package() and targets for your CMakeLists.txt find_package(OpenSSL) find_package(double-conversion) find_package(harfbuzz) find_package(freetype) find_package(PCRE2) find_package(PNG) find_package(ZLIB) find_package(SQLite3) find_package(PostgreSQL) find_package(brotli) find_package(md4c) target_link_libraries(... openssl::openssl double-conversion::double-conversion harfbuzz::harfbuzz Freetype::Freetype pcre2::pcre2 PNG::PNG ZLIB::ZLIB SQLite::SQLite3 PostgreSQL::PostgreSQL brotli::brotli md4c::md4c-html) qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'brotli-config-version.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'brotli-config.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'brotli-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'BZip2-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'BZip2Config.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'BZip2ConfigVersion.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'conandeps_legacy.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'double-conversion-config-version.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'double-conversion-config.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'double-conversion-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'FindBZip2.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'FindFreetype.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'FindIconv.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'FindIntl.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'FindOpenSSL.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'FindPNG.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'FindPostgreSQL.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'FindSQLite3.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'FindZLIB.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'freetype-config-version.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'freetype-config.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'freetype-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'glib-config-version.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'glib-config.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'glib-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'harfbuzz-config-version.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'harfbuzz-config.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'harfbuzz-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'Iconv-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'IconvConfig.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'IconvConfigVersion.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'Intl-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'IntlConfig.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'IntlConfigVersion.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'libffi-config-version.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'libffi-config.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'libffi-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'md4c-config-version.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'md4c-config.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'md4c-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'module-BZip2-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'module-Freetype-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'module-Iconv-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'module-Intl-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'module-OpenSSL-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'module-PNG-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'module-PostgreSQL-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'module-SQLite3-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'module-ZLIB-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'OpenSSL-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'OpenSSLConfig.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'OpenSSLConfigVersion.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'PCRE2-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'PCRE2Config.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'PCRE2ConfigVersion.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'PNG-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'PNGConfig.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'PNGConfigVersion.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'PostgreSQL-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'PostgreSQLConfig.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'PostgreSQLConfigVersion.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'SQLite3-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'SQLite3Config.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'SQLite3ConfigVersion.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'ZLIB-release-x86_64-data.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'ZLIBConfig.cmake' file. qt/6.7.3: WARN: replace_in_file didn't find pattern ' IMPORTED) ' in 'ZLIBConfigVersion.cmake' file. qt/6.7.3: CMakeToolchain generated: conan_toolchain.cmake qt/6.7.3: CMakeToolchain generated: D:\conan-cache\b\qt3696224efa16c\b\build\generators\CMakePresets.json qt/6.7.3: CMakeToolchain generated: D:\conan-cache\qt2bd365c604ca6\s\src\CMakeUserPresets.json qt/6.7.3: Generating aggregated env files qt/6.7.3: Generated aggregated env files: ['conanbuild.bat'] qt/6.7.3: Calling build() qt/6.7.3: Running CMake.configure() qt/6.7.3: RUN: cmake -G "Ninja" -DCMAKE_TOOLCHAIN_FILE="D:/conan-cache/b/qt3696224efa16c/b/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="D:/conan-cache/b/qt3696224efa16c/p" -DCMAKE_TRY_COMPILE_CONFIGURATION="Release" -DQT_USE_VCPKG="OFF" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "D:/conan-cache/qt2bd365c604ca6/s/src" conanvcvars.bat: Activating environment Visual Studio 17 - amd64 - winsdk_version=None - vcvars_ver=14.4 [vcvarsall.bat] Environment initialized for: 'x64' -- Using Conan toolchain: D:/conan-cache/b/qt3696224efa16c/b/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting CMAKE_MSVC_RUNTIME_LIBRARY=$<$:MultiThreadedDLL> -- Conan toolchain: C++ Standard 20 with extensions OFF -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The CXX compiler identification is MSVC 19.41.34123.0 -- The C compiler identification is MSVC 19.41.34123.0 -- The ASM compiler identification is MSVC -- Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Checking dependencies of submodule 'qtbase' -- Configuring submodule 'qtbase' -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release' -DCMAKE_C_FLAGS=/DWIN32 /D_WINDOWS -DCMAKE_C_FLAGS_DEBUG=/Zi /Ob0 /Od /RTC1 -DCMAKE_C_FLAGS_RELEASE=/O2 /Ob2 /DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO=/Zi /O2 /Ob1 /DNDEBUG -DCMAKE_CXX_FLAGS=/DWIN32 /D_WINDOWS /EHsc -DCMAKE_CXX_FLAGS_DEBUG=/Zi /Ob0 /Od /RTC1 -DCMAKE_CXX_FLAGS_RELEASE=/O2 /Ob2 /DNDEBUG -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=/Zi /O2 /Ob1 /DNDEBUG -DCMAKE_EXE_LINKER_FLAGS=/machine:x64 -DCMAKE_TOOLCHAIN_FILE=D:/conan-cache/b/qt3696224efa16c/b/build/generators/conan_toolchain.cmake -DCMAKE_C_STANDARD=11 -DCMAKE_C_STANDARD_REQUIRED=ON -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DCMAKE_MODULE_PATH:STRING=D:/conan-cache/qt2bd365c604ca6/s/src/qtbase/cmake/platforms -- Configuration summary shown below. It has also been written to D:/conan-cache/b/qt3696224efa16c/b/build/config.summary -- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations. -- Configure summary: Building for: win32-msvc (x86_64, CPU features: ) Compiler: msvc 19.41.34123.0 Build options: Mode ................................... release Optimize release build for size ........ no Fully optimize release builds (-O3) .... no Building shared libraries .............. no Unity Build ............................ no Relocatable ............................ no Using precompiled headers .............. yes Using Link Time Optimization (LTCG) .... no Using Intel CET ........................ no Target compiler supports: x86 Intrinsics ....................... Basic VAES AVX512VBMI2 Sanitizers: Addresses ............................ no Threads .............................. no Memory ............................... no Fuzzer (instrumentation only) ........ no Undefined ............................ no Build parts ............................ libs tools Install examples sources ............... no App store compliance ................... no Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... no Qt D-Bus directly linked to libdbus .... no Qt Gui ................................. yes Qt Network ............................. yes Qt PrintSupport ........................ yes Qt Sql ................................. yes Qt Testlib ............................. yes Qt Widgets ............................. yes Qt Xml ................................. yes Support enabled for: Using pkg-config ....................... yes Using vcpkg ............................ no udev ................................... no OpenSSL ................................ yes openssl_linked ......................... yes OpenSSL 1.1 ............................ no OpenSSL 3.0 ............................ yes Using system zlib ...................... yes Zstandard support ...................... no Thread support ......................... yes Common build options: Linker can resolve circular dependencies yes Qt Core: backtrace .............................. no DoubleConversion ....................... yes Using system DoubleConversion ........ yes GLib ................................... no ICU .................................... no Using system libb2 ..................... no Built-in copy of the MIME database ..... yes Application permissions ................ yes Tracing backend ........................ OpenSSL based cryptographic hash ....... no Logging backends: journald ............................. no syslog ............................... no slog2 ................................ no PCRE2 .................................. yes Using system PCRE2 ................... yes Qt Sql: SQL item models ........................ yes Qt Network: getifaddrs() ........................... no IPv6 ifname ............................ no libproxy ............................... no Schannel ............................... yes DTLS ................................... yes OCSP-stapling .......................... yes SCTP ................................... no Use system proxies ..................... yes GSSAPI ................................. no Brotli Decompression Support ........... yes qIsEffectiveTLD() ...................... yes Built-in publicsuffix database ....... yes System publicsuffix database ......... no Core tools: Android deployment tool ................ yes macOS deployment tool .................. no Windows deployment tool ................ yes qmake .................................. yes Qt Gui: Accessibility .......................... yes FreeType ............................... yes Using system FreeType ................ yes HarfBuzz ............................... yes Using system HarfBuzz ................ yes Fontconfig ............................. no Image formats: GIF .................................. yes ICO .................................. yes JPEG ................................. no Using system libjpeg ............... no PNG .................................. yes Using system libpng ................ yes Text formats: HtmlParser ........................... yes CssParser ............................ yes OdfWriter ............................ yes MarkdownReader ....................... yes Using system libmd4c ............... yes MarkdownWriter ....................... yes EGL .................................... no OpenVG ................................. no OpenGL: Desktop OpenGL ....................... no Dynamic OpenGL ....................... yes OpenGL ES 2.0 ........................ no OpenGL ES 3.0 ........................ no OpenGL ES 3.1 ........................ no OpenGL ES 3.2 ........................ no Vulkan ................................. no Session Management ..................... yes Features used by QPA backends: evdev .................................. no libinput ............................... no HiRes wheel support in libinput ........ no INTEGRITY HID .......................... no mtdev .................................. no tslib .................................. no xkbcommon .............................. no X11 specific: XLib ................................. no XCB Xlib ............................. no EGL on X11 ........................... no xkbcommon-x11 ........................ no xcb-sm ............................... no QPA backends: DirectFB ............................... no EGLFS .................................. no EGLFS details: EGLFS OpenWFD ........................ no EGLFS i.Mx6 .......................... no EGLFS i.Mx6 Wayland .................. no EGLFS RCAR ........................... no EGLFS EGLDevice ...................... no EGLFS GBM ............................ no EGLFS VSP2 ........................... no EGLFS Mali ........................... no EGLFS Raspberry Pi ................... no EGLFS X11 ............................ no LinuxFB ................................ no VNC .................................... no VK_KHR_display ......................... no QNX: lgmon ................................ no IMF .................................. no XCB: Using system-provided xcb-xinput ..... no GL integrations: GLX Plugin ......................... no XCB GLX .......................... no EGL-X11 Plugin ..................... no Windows: Direct 2D ............................ yes Direct 2D 1.1 ........................ yes DirectWrite .......................... yes DirectWrite 3 ........................ yes Qt Widgets: GTK+ ................................... no Styles ................................. Fusion Windows WindowsVista Qt Testlib: Tester for item models ................. yes Batch tests ............................ no Qt PrintSupport: CUPS ................................... no Qt Sql Drivers: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... yes PostgreSQL ............................. yes SQLite ................................. yes Using system provided SQLite ......... yes Mimer .................................. no Note: Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library. -- Qt is now configured for building. Just run 'cmake --build . --parallel' Once everything is built, you must run 'cmake --install .' Qt will be installed into 'D:/conan-cache/b/qt3696224efa16c/p' To configure and build other Qt modules, you can use the following convenience script: D:/conan-cache/b/qt3696224efa16c/p/bin/qt-configure-module.bat If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory Alternatively, you can add the --fresh flag to your CMake flags. -- Configuring done (49.9s) -- Generating done (2.0s) -- Build files have been written to: D:/conan-cache/b/qt3696224efa16c/b/build qt/6.7.3: Running CMake.build() qt/6.7.3: RUN: cmake --build "D:\conan-cache\b\qt3696224efa16c\b\build" -- -j16 conanvcvars.bat: Activating environment Visual Studio 17 - amd64 - winsdk_version=None - vcvars_ver=14.4 [vcvarsall.bat] Environment initialized for: 'x64' ```
weynaa commented 5 days ago

Seems like the CMAKE_CXX_STANDARD flag is falsely indicating the c++ version in the configure log: https://bugreports.qt.io/browse/QTBUG-130294. I guess i only had the issue still because i was using a cached version that wasn't compiled with the right cppstd setting. A clean build with -s compiler.cppstd=20 works.