bincrafters / community

Central repository for issues and recipes
http://bincrafters.readthedocs.io/en/latest/
MIT License
218 stars 36 forks source link

[QT 6.0.1] package does not embed windeployqt tool fro Windows platform #1370

Closed sminjard closed 3 years ago

sminjard commented 3 years ago

QT provides a tool to deploy qt which is an executable file named windeployqt under bin directory. The conan package 6.0.1 provides no such file. Could you add it please?

ericLemanissier commented 3 years ago

can you please try to enable the qttools option of the recipe ?

sminjard commented 3 years ago

I have added def configure(self): self.options["qt"].qttools = True

and got this error : ERROR: qt/6.0.1@bincrafters/stable: Error in build() method, line 647 cmake = self._configure_cmake() while calling '_configure_cmake', line 613 se lf._cmake.configure(source_folder="qt6") ConanException: Error 1 while executing cd D:\.conan\857f9f\1 && cmake -G "Ninja" -DCONAN_LINK_RUNTIME="/MD" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="D:\.conan\4f9a7c\1" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_MODULE_PATH="D:/.conan/857f9f/1" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_TESTING="OFF" -DBUILD_EXAMPLES="OFF" -DFEATURE_optimize_size="OFF" -DBUILD_qtsvg="OFF" -DBUILD_qtdeclarative="OFF" -DBUILD_qttools="ON" -DBUILD_qttranslations="OFF" -DBUILD_qtdoc="OFF" -DBUILD_qtwayland="OFF" -DBUILD_qtquickcontrols2="OFF" -DBUILD_qtquicktimeline="OFF" -DBUILD_qtquick3d=" OFF" -DBUILD_qtshadertools="OFF" -DBUILD_qt5compat="OFF" -DFEATURE_system_zlib="ON" -DINPUT_opengl="desktop" -DINPUT_openssl="linked" -DFEATURE_glib="OFF" -DFEATURE_icu="OFF" -DFEATURE_fontconfig="OFF" -DFEATURE_sql_mysql="OFF" -DFEATURE_sql_psql="ON" -DFEATURE_sql_odbc="ON" -DFEATURE_gui="ON" -DFEATURE_widgets="ON" -DFEATURE_zstd="OFF" -DFEATURE_vulkan="OFF" -DFEATURE_system_freetype="ON" -DFEATURE_system_harfbuzz="ON" -DFEATURE_jpeg="OFF" -DFEATURE_system_jpeg="OFF" -DFEATURE_system_png="ON" -DFEATURE_system_sqlite="ON" -DFEATURE_system_pcre2="ON" -DQT_QMAKE_TARGET_MKSPEC="win32-msvc" -DFEATURE_pkg_config="ON" -Wno-dev D:\.conan\1f3c83\1\qt6

ericLemanissier commented 3 years ago

Thanks. Can you please paste me the full console log ?

sminjard commented 3 years ago

`Selecting Windows SDK version 8.1 to target Windows 6.1.7601. Conan: Using cmake-multi generator Conan: Automatic detection of conan settings from cmake Conan: Detected VS runtime: MD Conan: Settings= -s;arch=x86_64;-s;build_type=Release;-s;compiler=Visual Studio;-s;compiler.version=16;-s;compiler.runtime=MD Conan: checking conan executable Conan: Found program C:/Users/Tourist/AppData/Roaming/Python/Python37/Scripts/conan.exe Conan: Version found Conan version 1.34.0

Conan executing: C:/Users/Tourist/AppData/Roaming/Python/Python37/Scripts/conan.exe install D:/Projects/ExpenseAnalyzer/Application/conanfile.py -s arch=x86_64 -s build_type=Release -s compiler=Visual Studio -s compiler.version=16 -s compiler.runtime=MD -g=cmake_multi --build=missing Configuration:

[settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows os_build=Windows [options] [build_requires] [env]

conanfile.py: Installing package

Requirements

brotli/1.0.9 from 'conan-center' - Cache

bzip2/1.0.8 from 'conan-center' - Cache

freetype/2.10.4 from 'conan-center' - Cache

glib/2.67.0 from 'conan-center' - Cache

harfbuzz/2.7.4 from 'conan-center' - Cache

libelf/0.8.13 from 'conan-center' - Cache

libffi/3.3 from 'conan-center' - Cache

libgettext/0.20.1 from 'conan-center' - Cache

libiconv/1.16 from 'conan-center' - Cache

libpng/1.6.37 from 'conan-center' - Cache

libpq/11.5 from 'conan-center' - Cache

openal/1.21.0 from 'conan-center' - Cache
opengl/system from 'conan-center' - Cache
openssl/1.1.1i from 'conan-center' - Cache

pcre/8.44 from 'conan-center' - Cache

pcre2/10.33 from 'conan-center' - Cache

qt/6.0.1@bincrafters/stable from 'bincrafters' - Cache
sqlite3/3.31.0 from 'conan-center' - Cache

zlib/1.2.11 from 'conan-center' - Cache

Packages

brotli/1.0.9:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

bzip2/1.0.8:d16a91eadaaf5829b928b12d2f836ff7680d3df5 - Cache
freetype/2.10.4:27b2733304cef577b19f699fec3a5bdbefb36d16 - Cache

glib/2.67.0:39022ddb4abc5a55ae186ee8c99842984908fec8 - Cache

harfbuzz/2.7.4:1f8752c5b0764c0d6010d417fc2e020549726cc2 - Cache

libelf/0.8.13:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

libffi/3.3:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

libgettext/0.20.1:b3e4dccd9a7572a5a29c77cc68475a955d494ef7 - Cache

libiconv/1.16:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

libpng/1.6.37:d140711d95cc16a85766a8fc3a551dfafe84cf63 - Cache

libpq/11.5:d8ac7a0f959aa6a09fd6a37c84b5d5aa5d138d1f - Cache

openal/1.21.0:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
openssl/1.1.1i:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

pcre/8.44:3f212c80aa6d2e609fef5fb7cb6dfc086d607220 - Cache

pcre2/10.33:c3909bc59b2700f5c593b64eb3cdec0e85b05bc5 - Cache

qt/6.0.1@bincrafters/stable:0e81d33db71a4097b317396c05be629a592519ce - Build

sqlite3/3.31.0:c5183a397a2bf119dfb15796af00a3553d47819f - Cache
zlib/1.2.11:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

Build requirements

cmake/3.19.1 from 'conan-center' - Cache
pkgconf/1.7.3 from 'conan-center' - Cache

Build requirements packages

cmake/3.19.1:0a420ff5c47119e668867cdb51baff0eca1fdb68 - Cache

pkgconf/1.7.3:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

Installing (downloading, building) binaries...

brotli/1.0.9: Already installed!

bzip2/1.0.8: Already installed!

bzip2/1.0.8: Appending PATH environment variable: D:\Conan.conan\data\bzip2\1.0.8__\package\d16a91eadaaf5829b928b12d2f836ff7680d3df5\bin

cmake/3.19.1: Already installed!

cmake/3.19.1: Appending PATH environment variable: D:\Conan.conan\data\cmake\3.19.1__\package\0a420ff5c47119e668867cdb51baff0eca1fdb68\bin

libelf/0.8.13: Already installed!

libffi/3.3: Already installed!

libiconv/1.16: Already installed!

libiconv/1.16: Appending PATH environment var: D:\Conan.conan\data\libiconv\1.16__\package\3fb49604f9c2f729b85ba3115852006824e72cab\bin

openal/1.21.0: Already installed!

opengl/system: Already installed!

openssl/1.1.1i: Already installed!

pkgconf/1.7.3: Already installed!

pkgconf/1.7.3: Appending PATH env var: D:\Conan.conan\data\pkgconf\1.7.3__\package\3fb49604f9c2f729b85ba3115852006824e72cab\bin

pkgconf/1.7.3: Setting PKGCONFIG env var: D:/Conan/.conan/data/pkgconf/1.7.3//_/package/3fb49604f9c2f729b85ba3115852006824e72cab/bin/pkgconf.exe

pkgconf/1.7.3: Appending AUTOMAKE_CONANINCLUDES env var: /d/conan/.conan/data/pkgconf/1.7.3//_/package/3fb49604f9c2f729b85ba3115852006824e72cab/bin/aclocal

sqlite3/3.31.0: Already installed!

sqlite3/3.31.0: Appending PATH env var with : D:\Conan.conan\data\sqlite3\3.31.0__\package\c5183a397a2bf119dfb15796af00a3553d47819f\bin

zlib/1.2.11: Already installed!

libgettext/0.20.1: Already installed!

libpng/1.6.37: Already installed!

libpq/11.5: Already installed!

pcre/8.44: Already installed!

pcre/8.44: Appending PATH environment variable: D:\Conan.conan\data\pcre\8.44__\package\3f212c80aa6d2e609fef5fb7cb6dfc086d607220\bin

pcre2/10.33: Already installed!

pcre2/10.33: Appending PATH environment variable: D:\Conan.conan\data\pcre2\10.33__\package\c3909bc59b2700f5c593b64eb3cdec0e85b05bc5\bin

freetype/2.10.4: Already installed!

glib/2.67.0: Already installed!

glib/2.67.0: Appending PATH env var with: D:.conan\f9abf5\1\bin

harfbuzz/2.7.4: Already installed!

qt/6.0.1@bincrafters/stable: Applying build-requirement: cmake/3.19.1

qt/6.0.1@bincrafters/stable: Applying build-requirement: pkgconf/1.7.3

qt/6.0.1@bincrafters/stable: Building your package in D:.conan\857f9f\1

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findcmake.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findpkgconf.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindOpenSSL.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findpcre2.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findharfbuzz.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindSQLite3.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindPostgreSQL.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindOpenAL.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findopengl_system.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindFreetype.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findglib.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindPNG.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindBrotli.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findlibffi.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindPCRE.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findlibelf.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findlibgettext.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindZLIB.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindBZip2.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindIconv.cmake

qt/6.0.1@bincrafters/stable: Generator cmake created conanbuildinfo.cmake

qt/6.0.1@bincrafters/stable: Generator pkg_config created cmake.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created pkgconf.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libcrypto.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libssl.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created openssl.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre2-32.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre2-16.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre2-8.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre2-posix.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre2.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created harfbuzz.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created sqlite.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created sqlite3.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created pgport.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created pq.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpq.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created openal.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created opengl.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created freetype2.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gresource.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created glib-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gobject-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gmodule-no-export-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gmodule-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gio-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gio-windows-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gthread-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gmodule-export-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created glib.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpng.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libbrotlicommon.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libbrotlienc.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libbrotlidec.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created brotli.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libffi.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre32.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre16.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcreposix.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created pcre.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libelf.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libgettext.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created zlib.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created bzip2.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libiconv.pc

qt/6.0.1@bincrafters/stable: Calling build()


Visual Studio 2019 Developer Command Prompt v16.8.5 Copyright (c) 2020 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x64'

Conan:vcvars already set

-- The CXX compiler identification is MSVC 19.28.29337.0

-- The C compiler identification is MSVC 19.28.29337.0

-- The ASM compiler identification is MSVC

-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/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 (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped

-- Detecting C compile features

-- Detecting C compile features - done

-- Conan: called by CMake conan helper

-- Conan: called inside local cache

-- Conan: Adjusting output directories

-- Conan: Using cmake global configuration

-- Conan: Adjusting language standard

Check dependencies of 'qtbase'

Check dependencies of 'qttools'

CMake Error at CMakeLists.txt:69 (message):

Module 'qttools' depends on 'qtdeclarative', but 'qtdeclarative' will not be built.

Note: Use '-skip qttools' to exclude it from build.

-- Configuring incomplete, errors occurred!

See also "D:/.conan/857f9f/1/CMakeFiles/CMakeOutput.log". See also "D:/.conan/857f9f/1/CMakeFiles/CMakeError.log".

qt/6.0.1@bincrafters/stable: Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '--version'

cl : Command line error D8003 : missing source filename

Checking whether the ASM compiler is Clang using "--version" did not match "(clang version)":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '--version'

cl : Command line error D8003 : missing source filename

Checking whether the ASM compiler is AppleClang using "--version" did not match "(Apple LLVM version)":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '--version'

cl : Command line error D8003 : missing source filename

Checking whether the ASM compiler is ARMClang using "--version" did not match "armclang":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '--version'

cl : Command line error D8003 : missing source filename

Checking whether the ASM compiler is HP using "-V" did not match "HP C":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line error D8004 : '/V' requires an argument

Checking whether the ASM compiler is Intel using "--version" did not match "(ICC)":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '--version'

cl : Comma nd line error D8003 : missing source filename

Checking whether the ASM compiler is SunPro using "-V" did not match "Sun C":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line error D8004 : '/V' requires an argument

Checking whether the ASM compiler is XL using "-qversion" did not match "XL C":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '-qversion'

cl : Command line error D8003 : missing source filename

qt/6.0.1@bincrafters/stable: The system is: Windows - 6.1.7601 - AMD64

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.

Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe

Build flags:

Id flags:

The output was:

0

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

CMakeCXXCompilerId.cpp

Microsoft (R) Incremental Linker Version 14.28.29337.0

Copyright (C) Microsoft Corporation. All rights reserved.

/out:CMakeCXXCompilerId.exe

CMakeCXXCompilerId.obj

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj"

The CXX compiler identification is MSVC, found in "D:/.conan/857f9f/1/CMakeFiles/3.18.20081302-MSVC_2/CompilerIdCXX/CMakeCXXCom pilerId.exe"

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.

Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe

Build flags:

Id flags:

The output was:

0

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

CMakeCCompilerId.c

Microsoft (R) Incremental Linker Version 14.28.29337.0

Copyright (C) Microsoft Corporation. All rights reserved.

/out:CMakeCCompilerId.exe

CMakeCCompilerId.obj

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"

The C compiler identification is MSVC, found in "D:/.conan/857f9f/1/CMakeFiles/3.18.20081302-MSVC_2/CompilerIdC/CMakeCCompilerId.exe"

Checking whether the ASM compiler is MSVC us ing "-?" matched "Microsoft":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

                     C/C++ COMPILER OPTIONS

                          -OPTIMIZATION-

/O1 maximum optimizations (favor space) /O2 maximum optimizations (favor speed)

/Ob inline expansion (default n=0) /Od disable optimizations (default)

/Og enable global optimization /Oi[-] enable intrinsic functions

/Os favor code space /Ot favor code speed

/Ox optimizations (favor speed)

/favor:<blend|AMD64|INTEL64|ATOM> select processor to optimize for, one of:

blend - a combination of optimizations for several different x64 processors

AMD64 - 64-bit AMD processors                                 

INTEL64 - Intel(R)64 architecture processors                  

ATOM - Intel(R) Atom(TM) processors                           

                         -CODE GENER

ATION-

/Gu[-] ensure distinct functions have distinct addresses

/Gw[-] separate global variables for linker

/GF enable read-only string pooling /Gm[-] enable minimal rebuild

/Gy[-] separate functions for linker /GS[-] enable security checks

/GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc)

/guard:cf[-] enable CFG (control flow guard)

/guard:ehcont[-] enable EH continuation metadata (CET)

/EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions)

/EHc extern "C" defaults to nothrow

/EHr always generate noexcept runtime termination checks

/fp:<except[-]|fast|precise|strict> choose floating-point model:

except[-] - consider floating-point exceptions when generating code

fast - "fast" floating-point model; results are less predictable

precise - "precise" floating-point model; results are predictable

strict - "strict" floating-point model (implies /fp:except)

/Qfast_transcendentals generate inline FP intri nsics even with /fp:except

/Qspectre[-] enable mitigations for CVE 2017-5753

/Qpar[-] enable parallel code generation

/Qpar-report:1 auto-parallelizer diagnostic; indicate parallelized loops

/Qpar-report:2 auto-parallelizer diagnostic; indicate loops not parallelized

/Qvec-report:1 auto-vectorizer diagnostic; indicate vectorized loops

/Qvec-report:2 auto-vectorizer diagnostic; indicate loops not vectorized

/GL[-] enable link-time code generation

/volatile:<iso|ms> choose volatile model:

iso - Acquire/release semantics not guaranteed on volatile accesses

ms  - Acquire/release semantics guaranteed on volatile accesses

/GA optimize for Windows Application /Ge force stack checking for all funcs

/Gs[num] control stack checking calls /Gh enable _penter function call

/GH enable _pexit function call /GT generate fiber-safe TLS accesses

/RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks

/RTCs Stack Frame runtime checking /RTCu Uninitial ized local usage checks

/clr[:option] compile for common language runtime, where option is:

pure - produce IL-only output file (no native executable code)

safe - produce IL-only verifiable output file

netcore - produce assemblies targeting .NET Core runtime

noAssembly - do not produce an assembly

nostdlib - ignore the system .NET framework directory when searching for assemblies

nostdimport - do not import any required assemblies implicitly

initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002

/homeparams Force parameters passed in registers to be written to the stack

/GZ Enable stack checks (/RTCs) /Gv __vectorcall calling convention

/arch:<AVX|AVX2|AVX512> minimum CPU architecture requirements, one of:

AVX - enable use of instructions available with AVX-enabled CPUs

AVX2 - enable use of instructions available with AVX2-enabled CPUs

AVX512 - enable use of instructions available with AVX-512-enabled CPUs

/QIntel-jcc-e rratum enable mitigations for Intel JCC erratum

/Qspectre-load Enable spectre mitigations for all instructions which load memory

/Qspectre-load-cf Enable spectre mitigations for all control-flow instructions which load memory

                          -OUTPUT FILES-

/Fa[file] name assembly listing file /FA[scu] configure assembly listing

/Fd[file] name .PDB file /Fe name executable file

/Fm[file] name map file /Fo name object file

/Fp name precompiled header file /Fr[file] name source browser file

/FR[file] name extended .SBR file /Fi[file] name preprocessed file

/Fd: name .PDB file /Fe: name executable file

/Fm: name map file /Fo: name object file

/Fp: name .PCH file /FR: name extended .SBR file

/Fi: name preprocessed file

/Ft

location of the header files generated for #import

/doc[file] process XML documentation c omments and optionally name the .xdc file

                          -PREPROCESSOR-

/AI

add to assembly search path /FU forced using assembly/module

/C don't strip comments /D{=|#} define macro

/E preprocess to stdout /EP preprocess to stdout, no #line

/P preprocess to file /Fx merge injected code to file

/FI name forced include file /U remove predefined macro

/u remove all predefined macros /I

add to include search path

/X ignore "standard places"

/PH generate #pragma file_hash when preprocessing

/PD print all macro definitions

                            -LANGUAGE-

/std:<c++14|c++17|c++latest> C++ standard version

c++14 - ISO/IEC 14882:2014 (default)

c++17 - ISO/IEC 14882:2017

c++latest - latest draft standard (feature set subject to change)

/permissive[-] enable some nonconforming code to compile (feature set subject to change) (on by default)

/Ze enable extensions (default) /Za disable extensions

/ZW enable WinRT language extensions /Zs syntax check only

/Zc:arg1[,arg2] C++ language conformance, where arguments can be:

forScope[-] enforce Standard C++ for scoping rules

wchar_t[-] wchar_t is the native type, not a typedef

auto[-] enforce the new Standard C++ meaning for auto

trigraphs[-] enable trigraphs (off by default)

rvalueCast[-] enforce Standard C++ explicit type conversion rules

strictStrings[-] disable string-literal to [char|wchar_t]*

                    conversion (off by default)

implicitNoexcept[-] enable implicit noexcept on required functions

threadSafeInit[-] enable thread-safe local static initialization

inline[-] remove unreferenced function or data if it is

                    COMDAT or has internal linkage only (off by default)

sizedDealloc[-] enable C++14 global sized deallocation

                    functions (on by default)

throwingNew[-] assume operator new throws on failure (off by default)

referenceBinding[-] a temporary will not bind to an non-const

                    lvalue reference (off by default)

twoPhase- disable two-phase name lookup

ternary[-] enforce C++11 rules for conditional operator (off by default)

noexceptTypes[-] enforce C++17 noexcept rules (on by default in C++17 or later)

alignedNew[-] enable C++17 alignment of dynamically allocated objects (on by default)

hiddenFriend[-] enforce Standard C++ hidden friend rules (implied by /permissive-)

externC[-] enforce Standard C++ rules for 'extern "C"' functions (implied by /permissive-)

lambda[-] better lambda support by using the newer lambda processor (off by default)

tlsGuards[-] generate runtime checks for TLS variable initialization (on by default)

/awai t enable resumable functions extension

/constexpr:depth recursion depth limit for constexpr evaluation (default: 512)

/constexpr:backtrace show N constexpr evaluations in diagnostics (default: 10)

/constexpr:steps terminate constexpr evaluation after N steps (default: 100000)

/Zi enable debugging information /Z7 enable old-style debug info

/Zo[-] generate richer debugging information for optimized code (on by default)

/ZH:[MD5|SHA1|SHA_256] hash algorithm for calculation of file checksum in debug info (default: MD5)

/Zp[n] pack structs on n-byte boundary /Zl omit default library name in .OBJ

/vd{0|1|2} disable/enable vtordisp /vm type of pointers to members

/std:<c11|c17> C standard version

c11 - ISO/IEC 9899:2011

c17 - ISO/IEC 9899:2018

/ZI enable Edit and Continue debug info

/openmp enable OpenMP 2.0 language extensions

/openmp:experimental enable OpenMP 2.0 language extensions plus select OpenMP 3.0+ language extensions

              -MISCELLANEOUS-

@ options response file /?, /help print this help message

/bigobj generate extended object format /c compile only, no link

/errorReport:option deprecated. Report internal compiler errors to Microsoft

none - do not send report                

prompt - prompt to immediately send report

queue - at next admin logon, prompt to send report (default)

send - send report automatically         

/FC use full pathnames in diagnostics /H max external name length

/J default char type is unsigned

/MP[n] use up to 'n' processes for compilation

/nologo suppress copyright message /showIncludes show include file names

/Tc compile file as .c /Tp compile file as .cpp

/TC compile all files as .c /TP compile all files as .cpp

/V set version string /Yc[file] create .PCH file

/Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib

/Y u[file] use .PCH file /Y- disable all PCH options

/Zm max memory alloc (% of default) /FS force to use MSPDBSRV.EXE

/source-charset:|.nnnn set source character set

/execution-charset:|.nnnn set execution character set

/utf-8 set source and execution character set to UTF-8

/validate-charset[-] validate UTF-8 files for only legal characters

/fastfail[-] enable fast-fail mode /JMC[-] enable native just my code

/presetPadding[-] zero initialize padding for stack based class types

                            -LINKING-

/LD Create .DLL /LDd Create .DLL debug library

/LN Create a .netmodule /F set stack size

/link [linker options and libraries] /MD link with MSVCRT.LIB

/MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib

/MTd link with LIBCMTD.LIB debug lib

                          -CODE ANALYSIS-

/analyze[-] Enable native analysis /analyze: quiet[-] No warning to console

/analyze:log Warnings to file /analyze:autolog Log to *.pftlog

/analyze:autolog:ext Log to *./analyze:autolog- No log file

/analyze:WX- Warnings not fatal /analyze:stacksize Max stack frame

/analyze:max_paths Max paths /analyze:only Analyze, no code gen

                          -DIAGNOSTICS-

/diagnostics:<args,...> controls the format of diagnostic messages:

         classic   - retains prior format

         column[-] - prints column information

         caret[-]  - prints column and the indicated line of source

/Wall enable all warnings /w disable all warnings

/W set warning level (default n=1)

/Wv:xx[.yy[.zzzzz]] disable warnings introduced after version xx.yy.zzzzz

/WX treat warnings as errors /WL enable one line diagnostics

/wd disable warning n /we treat warning n as an error

/wo issue warning n once /w s et warning level 1-4 for n

/external:I - location of external headers

/external:env: - environment variable with locations of external headers

/external:anglebrackets - treat all headers included via <> as external

/external:W - warning level for external headers

/external:templates[-] - evaluate warning level across template instantiation chain

/sdl enable additional security features and warnings

Detecting CXX compiler ABI info compiled with the following output:

Change Dir: D:/.conan/857f9f/1/CMakeFiles/CMakeTmp

Run Build Command(s):C:/PROGRA~2/MIB055~1/2019/PROFES~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_aebb8 && [1/2] Building CXX object CMakeFiles\cmTC_aebb8.dir\CMakeCXXCompilerABI.cpp.obj

[2/2] Linking CXX executable cmTC_aebb8.exe

Detecting C compiler ABI info compiled with the following output:

Change Dir: D:/.conan/857f9f/1/CMakeFiles/CMakeTmp

Run Build Command(s):C:/PROGRA~2/MIB055~1/2019/PROFES~1/Comm on7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_53152 && [1/2] Building C object CMakeFiles\cmTC_53152.dir\CMakeCCompilerABI.c.obj

[2/2] Linking C executable cmTC_53152.exe

qt/6.0.1@bincrafters/stable:

libgettext/0.20.1: WARN: Recipe 'libgettext/0.20.1' is deprecated in favor of 'gettext'. Please, consider changing your requirements. openal/1.21.0: WARN: Unknown compiler. Assuming your compiler supports c++14 qt/6.0.1@bincrafters/stable: WARN: Package binary is corrupted, removing: 0e81d33db71a4097b317396c05be629a592519ce qt/6.0.1@bincrafters/stable: WARN: Build folder is dirty, removing it: D:.conan\857f9f\1 WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,EXECUTABLE>:>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$<TA RGET_PROPERTY:TYPE>,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindBrotli.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindBrotli.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindBZip2.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindBZip2.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findcmake.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findcmake.cmake' file. WARN: replace_in_file didn't find pattern '$<$<S TREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindFreetype.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindFreetype.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findglib.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findglib.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findharfbuzz.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findharfbuzz.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindIconv.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindIconv.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findlibelf.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findlibelf.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findlibffi.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findlibffi.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findlibgettext.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULELIBRARY>:-Wl,--export-dynamic>' in 'Findlibgettext.cmake' file. WARN: replace in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindOpenAL.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindOpenAL.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findopengl_system.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findopengl_system.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindOpenSSL.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindOpenSSL.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindPCRE.cm ake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindPCRE.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findpcre2.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findpcre2.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findpkgconf.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findpkgconf.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindPNG.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindPN G.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindPostgreSQL.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindPostgreSQL.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindSQLite3.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindSQLite3.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindZLIB.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindZLIB.cmake' file. qt/6.0.1@bincrafters/stable: ERROR: Package '0e81d33db71a4097b317396c05be629a592519ce' build failed qt/6.0.1@binc rafters/stable: WARN: Build folder D:.conan\857f9f\1 ERROR: qt/6.0.1@bincrafters/stable: Error in build() method, line 647 cmake = self._configure_cmake() while calling '_configure_cmake', line 613 self._cmake.configure(source_folder="qt6") ConanException: Error 1 while executing cd D:.conan\857f9f\1 && cmake -G "Ninja" -DCONAN_LINK_RUNTIME="/MD" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="D:.conan\4f9a7c\1" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_MODULE_PATH="D:/.conan/857f9f/1" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_TESTING="OFF" -DBUILD_EXAMPLES="OFF" -DFEATURE_optimize_size="OFF" -DBUILD_qtsvg=" OFF" -DBUILD_qtdeclarative="OFF" -DBUILD_qttools="ON" -DBUILD_qttranslations="OFF" -DBUILD_qtdoc="OFF" -DBUILD_qtwayland="OFF" -DBUILD_qtquickcontrols2="OFF" -DBUILD_qtquicktimeline="OFF" -DBUILD_qtquick3d="OFF" -DBUILD_qtshadertools="OFF" -DBUILD_qt5compat="OFF" -DFEATURE_system_zlib="ON" -DINPUT_opengl="desktop" -DINPUT_openssl="linked" -DFEATURE_glib="OFF" -DFEATURE_icu="OFF" -DFEATURE_fontconfig="OFF" -DFEATURE_sql_mysql="OFF" -DFEATURE_sql_psql="ON" -DFEATURE_sql_odbc="ON" -DFEATURE_gui="ON" -DFEATURE_widgets="ON" -DFEATURE_zstd="OFF" -DFEATURE_vulkan="OFF" -DFEATURE_system_freetype="ON" -DFEATURE_system_harfbuzz="ON" -DFEATURE_jpeg="OFF" -DFEATURE_system_jpeg="OFF" -DFEATURE_system_png="ON" -DFEATURE_system_sqlite="ON" -DFEATURE_system_pcre2="ON" -DQT_QMAKE_TARGET_MKSPEC="win32-msvc" -DFEATURE_pkg_config="ON" -Wno-dev D:.conan\1f3c83\1\qt6

CMake Error at D:/Builds/ExpenseAnalyzer/conan.cmake:522 (message): Conan install failed='1' Call Stack (most recent call first): D:/Builds/ExpenseAnalyzer/conan.cmake:754 (old_conan_cmake_install) Application/CMakeLists.txt:10 (conan_cmake_run)

Configuring incomplete, errors occurred! See also "D:/Builds/ExpenseAnalyzer/CMakeFiles/CMakeOutput.log". See also "D:/Builds/ExpenseAnalyzer/CMakeFiles/CMakeError.log".`

ericLemanissier commented 3 years ago

Thanks. the true error here is Module 'qttools' depends on 'qtdeclarative', but 'qtdeclarative' will not be built., so you have to enable option qtdeclarative too

sminjard commented 3 years ago

Unfortunately I got this :

`Selecting Windows SDK version 8.1 to target Windows 6.1.7601. The C compiler identification is MSVC 19.28.29337.0 The CXX compiler identification is MSVC 19.28.29337.0 Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped Detecting C compile features Detecting C compile features - done Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped Detecting CXX compile features Detecting CXX compile features - done Conan: Using cmake-multi generator Conan: Automatic detection of conan settings from cmake Conan: Detected VS runtime: MD Conan: Settings= -s;arch=x86_64;-s;build_type=Release;-s;compiler=Visual Studio;-s;compiler.version=16;-s;compiler.runtime=MD Conan: checking conan executable Conan: Found program C:/Users/Tourist/AppData/Roaming/Python/Python37/Scripts/conan.exe Conan: Version found Conan version 1.34.0

Conan executing: C:/Users/Tourist/AppData/Roaming/Python/Python37/Scripts/conan.exe install D:/Projects/ExpenseAnalyzer/Application/conanfile.py -s arch=x86_64 -s build_type=Release -s compiler=Visual Studio -s compiler.version=16 -s compiler.runtime=MD -g=cmake_multi --build=missing Configuration:

[settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows os_build=Windows [options] [build_requires] [env]

conanfile.py: Installing package

Requirements

brotli/1.0.9 from 'conan-center' - Cache

bzip2/1.0.8 from 'conan-center' - Cache

freetype/2.10.4 from 'conan-center' - Cache
glib/2.67.0 from 'conan-center' - Cache

harfbuzz/2.7.4 from 'conan-center' - Cache

libelf/0.8.13 from 'conan-center' - Cache
libffi/3.3 from 'conan-center' - Cache

libgettext/0.20.1 from 'conan-center' - Cache

libiconv/1.16 from 'conan-center' - Cache

libpng/1.6.37 from 'conan-center' - Cache
libpq/11.5 from 'conan-center' - Cache

openal/1.21.0 from 'conan-center' - Cache
opengl/system from 'conan-center' - Cache

openssl/1.1.1i from 'conan-center' - Cache

pcre/8.44 from 'conan-center' - Cache
pcre2/10.33 from 'conan-center' - Cache

qt/6.0.1@bincrafters/stable from 'bincrafters' - Cache

sqlite3/3.31.0 from 'conan-center' - Cache
zlib/1.2.11 from 'conan-center' - Cache

Packages

brotli/1.0.9:3fb49604f9c2f729b85ba3115852006824e72cab - Cache
bzip2/1.0.8:d16a91eadaaf5829b928b12d2f836ff7680d3df5 - Cache

freetype/2.10.4:27b2733304cef577b19f699fec3a5bdbefb36d16 - Cache
glib/2.67.0:39022ddb4abc5a55ae186ee8c99842984908fec8 - Cache

harfbuzz/2.7.4:1f8752c5b0764c0d6010d417fc2e020549726cc2 - Cache

libelf/0.8.13:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

libffi/3.3:3fb49604f9c2f729b85ba3115852006824e72cab - Cache
libgettext/0.20.1:b3e4dccd9a7572a5a29c77cc68475a955d494ef7 - Cache

libiconv/1.16:3fb49604f9c2f729b85ba3115852006824e72cab - Cache
libpng/1.6.37:d140711d95cc16a85766a8fc3a551dfafe84cf63 - Cache

libpq/11.5:d8ac7a0f959aa6a09fd6a37c84b5d5aa5d138d1f - Cache

openal/1.21.0:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache

openssl/1.1.1i:3fb49604f9c2f729b85ba3115852006824e72cab - Cache
pcre/8.44:3f212c80aa6d2e609fef5fb7cb6dfc086d607220 - Cache

pcre2/10.33:c3909bc59b2700f5c593b64eb3cdec0e85b05bc5 - Cache

qt/6.0.1@bincrafters/stable:f623692547ddd9ee41d5a1219114ef41ec9ef309 - Build
sqlite3/3.31.0:c5183a397a2bf119dfb15796af00a3553d47819f - Cache

zlib/1.2.11:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

Build requirements

cmake/3.19.1 from 'conan-center' - Cache
pkgconf/1.7.3 from 'conan-center' - Cache

Build requirements packages

cmake/3.19.1:0a420ff5c47119e668867cdb51baff0eca1fdb68 - Cache
pkgconf/1.7.3:3fb49604f9c2f729b85ba3115852006824e72cab - Cache

Installing (downloading, building) binaries...

brotli/1.0.9: Already installed!

bzip2/1.0.8: Already installed!

bzip2/1.0.8: Appending PATH environment variable: D:\Conan.conan\data\bzip2\1.0.8__\package\d16a91eadaaf5829b928b12d2f836ff7680d3df5\bin

cmake/3.19.1: Already installed!

cmake/3.19.1: Appending PATH environment variable: D:\Conan.conan\data\cmake\3.19.1__\package\0a420ff5c47119e668867cdb51baff0eca1fdb68\bin

libelf/0.8.13: Already installed!

libffi/3.3: Already installed!

libiconv/1.16: Already installed!

libiconv/1.16: Appending PATH environment var: D:\Conan.conan\data\libiconv\1.16__\package\3fb49604f9c2f729b85ba3115852006824e72cab\bin

openal/1.21.0: Already installed!

opengl/system: Already installed!

openssl/1.1.1i: Already installed!

pkgconf/1.7.3: Already installed!

pkgconf/1.7.3: Appending PATH env var: D:\Conan.conan\data\pkgconf\1.7.3__\package\3fb49604f9c2f729b85ba3115852006824e72cab\bin

pkgconf/1.7.3: Setting PKGCONFIG env var: D:/Conan/.conan/data/pkgconf/1.7.3//_/package/3fb49604f9c2f729b85ba3115852006824e72cab/bin/pkgconf.exe

pkgconf/1.7.3: Appending AUTOMAKE_CONANINCLUDES env var: /d/conan/.conan/data/pkgconf/1.7.3//_/package/3fb49604f9c2f729b85ba3115852006824e72cab/bin/aclocal

sqlite3/3.31.0: Already installed!

sqlite3/3.31.0: Appending PATH env var with : D:\Conan.conan\data\sqlite3\3.31.0__\package\c5183a397a2bf119dfb15796af00a3553d47819f\bin

zlib/1.2.11: Already installed!

libgettext/0.20.1: Already installed!

libpng/1.6.37: Already installed!

libpq/11.5: Already installed!

pcre/8.44: Already installed!

pcre/8.44: Appending PATH environment variable: D:\Conan.conan\data\pcre\8.44__\package\3f212c80aa6d2e609fef5fb7cb6dfc086d607220\bin

pcre2/10.33: Already installed!

pcre2/10.33: Appending PATH environment variable: D:\Conan.conan\data\pcre2\10.33__\package\c3909bc59b2700f5c593b64eb3cdec0e85b05bc5\bin

freetype/2.10.4: Already installed!

glib/2.67.0: Already installed!

glib/2.67.0: Appending PATH env var with: D:.conan\f9abf5\1\bin

harfbuzz/2.7.4: Already installed!

qt/6.0.1@bincrafters/stable: Applying build-requirement: cmake/3.19.1

qt/6.0.1@bincrafters/stable: Applying build-requirement: pkgconf/1.7.3

qt/6.0.1@bincrafters/stable: Building your package in D:.conan\1da849\1

qt/6.0.1@bincrafters/stable: Generator pkg_config created cmake.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created pkgconf.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libcrypto.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libssl.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created openssl.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre2-32.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre2-16.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre2-8.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre2-posix.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre2.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created harfbuzz.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created sqlite.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created sqlite3.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created pgport.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created pq.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpq.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created openal.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created opengl.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created freetype2.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gresource.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created glib-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gobject-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gmodule-no-export-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gmodule-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gio-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gio-windows-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gthread-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created gmodule-export-2.0.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created glib.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpng.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libbrotlicommon.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libbrotlienc.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libbrotlidec.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created brotli.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libffi.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre32.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre16.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcre.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libpcreposix.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created pcre.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libelf.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libgettext.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created zlib.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created bzip2.pc

qt/6.0.1@bincrafters/stable: Generator pkg_config created libiconv.pc

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findcmake.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findpkgconf.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindOpenSSL.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findpcre2.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findharfbuzz.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindSQLite3.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindPostgreSQL.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindOpenAL.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findopengl_system.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindFreetype.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findglib.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindPNG.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindBrotli.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findlibffi.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindPCRE.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findlibelf.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created Findlibgettext.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindZLIB.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindBZip2.cmake

qt/6.0.1@bincrafters/stable: Generator cmake_find_package created FindIconv.cmake

qt/6.0.1@bincrafters/stable: Generator cmake created conanbuildinfo.cmake

qt/6.0.1@bincrafters/stable: Calling build()


Visual Studio 2019 Developer Command Prompt v16.8.5 Copyright (c) 2020 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x64'

Conan:vcvars already set

-- The CXX compiler identification is MSVC 19.28.29337.0

-- The C compiler identification is MSVC 19.28.29337.0

-- The ASM compiler identification is MSVC

-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/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 (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped

-- Detecting C compile features

-- Detecting C compile features - done

-- Conan: called by CMake conan helper

-- Conan: called inside local cache

-- Conan: Adjusting output directories

-- Conan: Using cmake global configuration

-- Conan: Adjusting language standard

Check dependencies of 'qtbase'

Check dependencies of 'qtdeclarative'

CMake Error at CMakeLists.txt:69 (message):

Module 'qtdeclarative' depends on 'qtsvg', but 'qtsvg' will not be built.

Note: Use '-skip qtdeclarative' to exclude it from build.

-- Configuring incomplete, errors occurred!

See also "D:/.conan/1da849/1/CMakeFiles/CMakeOutput.log". See also "D:/.conan/1da849/1/CMakeFiles/CMakeError.log".

qt/6.0.1@bincrafters/stable: Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '--version'

cl : Command line error D8003 : missing source filename

Checking whether the ASM compiler is Clang using "--version" did not match "(clang version)":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '--version'

cl : Command line error D8003 : missing source filename

Checking whether the ASM compiler is AppleClang using "--version" did not match "(Apple LLVM version)":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '--version'

cl : Command line error D8003 : missing source filename

Checking whether the ASM compiler is ARMClang using "--version" did not match "armclang":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '--version'

cl : Command line error D8003 : missing source filename

Checking whether the ASM compiler is HP using "-V" did not match "HP C":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line error D8004 : '/V' requires an argument

Checking whether the ASM compiler is Intel using "--version" did not match "(ICC)":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '--version'

cl : Comma nd line error D8003 : missing source filename

Checking whether the ASM compiler is SunPro using "-V" did not match "Sun C":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line error D8004 : '/V' requires an argument

Checking whether the ASM compiler is XL using "-qversion" did not match "XL C":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '-qversion'

cl : Command line error D8003 : missing source filename

qt/6.0.1@bincrafters/stable: The system is: Windows - 6.1.7601 - AMD64

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.

Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe

Build flags:

Id flags:

The output was:

0

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

CMakeCXXCompilerId.cpp

Microsoft (R) Incremental Linker Version 14.28.29337.0

Copyright (C) Microsoft Corporation. All rights reserved.

/out:CMakeCXXCompilerId.exe

CMakeCXXCompilerId.obj

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj"

The CXX compiler identification is MSVC, found in "D:/.conan/1da849/1/CMakeFiles/3.18.20081302-MSVC_2/CompilerIdCXX/CMakeCXXCom pilerId.exe"

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.

Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe

Build flags:

Id flags:

The output was:

0

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

CMakeCCompilerId.c

Microsoft (R) Incremental Linker Version 14.28.29337.0

Copyright (C) Microsoft Corporation. All rights reserved.

/out:CMakeCCompilerId.exe

CMakeCCompilerId.obj

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"

The C compiler identification is MSVC, found in "D:/.conan/1da849/1/CMakeFiles/3.18.20081302-MSVC_2/CompilerIdC/CMakeCCompilerId.exe"

Checking whether the ASM compiler is MSVC us ing "-?" matched "Microsoft":

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

                     C/C++ COMPILER OPTIONS

                          -OPTIMIZATION-

/O1 maximum optimizations (favor space) /O2 maximum optimizations (favor speed)

/Ob inline expansion (default n=0) /Od disable optimizations (default)

/Og enable global optimization /Oi[-] enable intrinsic functions

/Os favor code space /Ot favor code speed

/Ox optimizations (favor speed)

/favor:<blend|AMD64|INTEL64|ATOM> select processor to optimize for, one of:

blend - a combination of optimizations for several different x64 processors

AMD64 - 64-bit AMD processors                                 

INTEL64 - Intel(R)64 architecture processors                  

ATOM - Intel(R) Atom(TM) processors                           

                         -CODE GENER

ATION-

/Gu[-] ensure distinct functions have distinct addresses

/Gw[-] separate global variables for linker

/GF enable read-only string pooling /Gm[-] enable minimal rebuild

/Gy[-] separate functions for linker /GS[-] enable security checks

/GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc)

/guard:cf[-] enable CFG (control flow guard)

/guard:ehcont[-] enable EH continuation metadata (CET)

/EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions)

/EHc extern "C" defaults to nothrow

/EHr always generate noexcept runtime termination checks

/fp:<except[-]|fast|precise|strict> choose floating-point model:

except[-] - consider floating-point exceptions when generating code

fast - "fast" floating-point model; results are less predictable

precise - "precise" floating-point model; results are predictable

strict - "strict" floating-point model (implies /fp:except)

/Qfast_transcendentals generate inline FP intri nsics even with /fp:except

/Qspectre[-] enable mitigations for CVE 2017-5753

/Qpar[-] enable parallel code generation

/Qpar-report:1 auto-parallelizer diagnostic; indicate parallelized loops

/Qpar-report:2 auto-parallelizer diagnostic; indicate loops not parallelized

/Qvec-report:1 auto-vectorizer diagnostic; indicate vectorized loops

/Qvec-report:2 auto-vectorizer diagnostic; indicate loops not vectorized

/GL[-] enable link-time code generation

/volatile:<iso|ms> choose volatile model:

iso - Acquire/release semantics not guaranteed on volatile accesses

ms  - Acquire/release semantics guaranteed on volatile accesses

/GA optimize for Windows Application /Ge force stack checking for all funcs

/Gs[num] control stack checking calls /Gh enable _penter function call

/GH enable _pexit function call /GT generate fiber-safe TLS accesses

/RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks

/RTCs Stack Frame runtime checking /RTCu Uninitial ized local usage checks

/clr[:option] compile for common language runtime, where option is:

pure - produce IL-only output file (no native executable code)

safe - produce IL-only verifiable output file

netcore - produce assemblies targeting .NET Core runtime

noAssembly - do not produce an assembly

nostdlib - ignore the system .NET framework directory when searching for assemblies

nostdimport - do not import any required assemblies implicitly

initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002

/homeparams Force parameters passed in registers to be written to the stack

/GZ Enable stack checks (/RTCs) /Gv __vectorcall calling convention

/arch:<AVX|AVX2|AVX512> minimum CPU architecture requirements, one of:

AVX - enable use of instructions available with AVX-enabled CPUs

AVX2 - enable use of instructions available with AVX2-enabled CPUs

AVX512 - enable use of instructions available with AVX-512-enabled CPUs

/QIntel-jcc-e rratum enable mitigations for Intel JCC erratum

/Qspectre-load Enable spectre mitigations for all instructions which load memory

/Qspectre-load-cf Enable spectre mitigations for all control-flow instructions which load memory

                          -OUTPUT FILES-

/Fa[file] name assembly listing file /FA[scu] configure assembly listing

/Fd[file] name .PDB file /Fe name executable file

/Fm[file] name map file /Fo name object file

/Fp name precompiled header file /Fr[file] name source browser file

/FR[file] name extended .SBR file /Fi[file] name preprocessed file

/Fd: name .PDB file /Fe: name executable file

/Fm: name map file /Fo: name object file

/Fp: name .PCH file /FR: name extended .SBR file

/Fi: name preprocessed file

/Ft

location of the header files generated for #import

/doc[file] process XML documentation c omments and optionally name the .xdc file

                          -PREPROCESSOR-

/AI

add to assembly search path /FU forced using assembly/module

/C don't strip comments /D{=|#} define macro

/E preprocess to stdout /EP preprocess to stdout, no #line

/P preprocess to file /Fx merge injected code to file

/FI name forced include file /U remove predefined macro

/u remove all predefined macros /I

add to include search path

/X ignore "standard places"

/PH generate #pragma file_hash when preprocessing

/PD print all macro definitions

                            -LANGUAGE-

/std:<c++14|c++17|c++latest> C++ standard version

c++14 - ISO/IEC 14882:2014 (default)

c++17 - ISO/IEC 14882:2017

c++latest - latest draft standard (feature set subject to change)

/permissive[-] enable some nonconforming code to compile (feature set subject to change) (on by default)

/Ze enable extensions (default) /Za disable extensions

/ZW enable WinRT language extensions /Zs syntax check only

/Zc:arg1[,arg2] C++ language conformance, where arguments can be:

forScope[-] enforce Standard C++ for scoping rules

wchar_t[-] wchar_t is the native type, not a typedef

auto[-] enforce the new Standard C++ meaning for auto

trigraphs[-] enable trigraphs (off by default)

rvalueCast[-] enforce Standard C++ explicit type conversion rules

strictStrings[-] disable string-literal to [char|wchar_t]*

                    conversion (off by default)

implicitNoexcept[-] enable implicit noexcept on required functions

threadSafeInit[-] enable thread-safe local static initialization

inline[-] remove unreferenced function or data if it is

                    COMDAT or has internal linkage only (off by default)

sizedDealloc[-] enable C++14 global sized deallocation

                    functions (on by default)

throwingNew[-] assume operator new throws on failure (off by default)

referenceBinding[-] a temporary will not bind to an non-const

                    lvalue reference (off by default)

twoPhase- disable two-phase name lookup

ternary[-] enforce C++11 rules for conditional operator (off by default)

noexceptTypes[-] enforce C++17 noexcept rules (on by default in C++17 or later)

alignedNew[-] enable C++17 alignment of dynamically allocated objects (on by default)

hiddenFriend[-] enforce Standard C++ hidden friend rules (implied by /permissive-)

externC[-] enforce Standard C++ rules for 'extern "C"' functions (implied by /permissive-)

lambda[-] better lambda support by using the newer lambda processor (off by default)

tlsGuards[-] generate runtime checks for TLS variable initialization (on by default)

/awai t enable resumable functions extension

/constexpr:depth recursion depth limit for constexpr evaluation (default: 512)

/constexpr:backtrace show N constexpr evaluations in diagnostics (default: 10)

/constexpr:steps terminate constexpr evaluation after N steps (default: 100000)

/Zi enable debugging information /Z7 enable old-style debug info

/Zo[-] generate richer debugging information for optimized code (on by default)

/ZH:[MD5|SHA1|SHA_256] hash algorithm for calculation of file checksum in debug info (default: MD5)

/Zp[n] pack structs on n-byte boundary /Zl omit default library name in .OBJ

/vd{0|1|2} disable/enable vtordisp /vm type of pointers to members

/std:<c11|c17> C standard version

c11 - ISO/IEC 9899:2011

c17 - ISO/IEC 9899:2018

/ZI enable Edit and Continue debug info

/openmp enable OpenMP 2.0 language extensions

/openmp:experimental enable OpenMP 2.0 language extensions plus select OpenMP 3.0+ language extensions

              -MISCELLANEOUS-

@ options response file /?, /help print this help message

/bigobj generate extended object format /c compile only, no link

/errorReport:option deprecated. Report internal compiler errors to Microsoft

none - do not send report                

prompt - prompt to immediately send report

queue - at next admin logon, prompt to send report (default)

send - send report automatically         

/FC use full pathnames in diagnostics /H max external name length

/J default char type is unsigned

/MP[n] use up to 'n' processes for compilation

/nologo suppress copyright message /showIncludes show include file names

/Tc compile file as .c /Tp compile file as .cpp

/TC compile all files as .c /TP compile all files as .cpp

/V set version string /Yc[file] create .PCH file

/Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib

/Y u[file] use .PCH file /Y- disable all PCH options

/Zm max memory alloc (% of default) /FS force to use MSPDBSRV.EXE

/source-charset:|.nnnn set source character set

/execution-charset:|.nnnn set execution character set

/utf-8 set source and execution character set to UTF-8

/validate-charset[-] validate UTF-8 files for only legal characters

/fastfail[-] enable fast-fail mode /JMC[-] enable native just my code

/presetPadding[-] zero initialize padding for stack based class types

                            -LINKING-

/LD Create .DLL /LDd Create .DLL debug library

/LN Create a .netmodule /F set stack size

/link [linker options and libraries] /MD link with MSVCRT.LIB

/MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib

/MTd link with LIBCMTD.LIB debug lib

                          -CODE ANALYSIS-

/analyze[-] Enable native analysis /analyze: quiet[-] No warning to console

/analyze:log Warnings to file /analyze:autolog Log to *.pftlog

/analyze:autolog:ext Log to *./analyze:autolog- No log file

/analyze:WX- Warnings not fatal /analyze:stacksize Max stack frame

/analyze:max_paths Max paths /analyze:only Analyze, no code gen

                          -DIAGNOSTICS-

/diagnostics:<args,...> controls the format of diagnostic messages:

         classic   - retains prior format

         column[-] - prints column information

         caret[-]  - prints column and the indicated line of source

/Wall enable all warnings /w disable all warnings

/W set warning level (default n=1)

/Wv:xx[.yy[.zzzzz]] disable warnings introduced after version xx.yy.zzzzz

/WX treat warnings as errors /WL enable one line diagnostics

/wd disable warning n /we treat warning n as an error

/wo issue warning n once /w s et warning level 1-4 for n

/external:I - location of external headers

/external:env: - environment variable with locations of external headers

/external:anglebrackets - treat all headers included via <> as external

/external:W - warning level for external headers

/external:templates[-] - evaluate warning level across template instantiation chain

/sdl enable additional security features and warnings

Detecting CXX compiler ABI info compiled with the following output:

Change Dir: D:/.conan/1da849/1/CMakeFiles/CMakeTmp

Run Build Command(s):C:/PROGRA~2/MIB055~1/2019/PROFES~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_e6c52 && [1/2] Building CXX object CMakeFiles\cmTC_e6c52.dir\CMakeCXXCompilerABI.cpp.obj

[2/2] Linking CXX executable cmTC_e6c52.exe

Detecting C compiler ABI info compiled with the following output:

Change Dir: D:/.conan/1da849/1/CMakeFiles/CMakeTmp

Run Build Command(s):C:/PROGRA~2/MIB055~1/2019/PROFES~1/Comm on7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_1ed64 && [1/2] Building C object CMakeFiles\cmTC_1ed64.dir\CMakeCCompilerABI.c.obj

[2/2] Linking C executable cmTC_1ed64.exe

qt/6.0.1@bincrafters/stable:

libgettext/0.20.1: WARN: Recipe 'libgettext/0.20.1' is deprecated in favor of 'gettext'. Please, consider changing your requirements. openal/1.21.0: WARN: Unknown compiler. Assuming your compiler supports c++14 qt/6.0.1@bincrafters/stable: WARN: Package binary is corrupted, removing: f623692547ddd9ee41d5a1219114ef41ec9ef309 qt/6.0.1@bincrafters/stable: WARN: Build folder is dirty, removing it: D:.conan\1da849\1 WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,EXECUTABLE>:>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$<TA RGET_PROPERTY:TYPE>,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'conanbuildinfo.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindBrotli.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindBrotli.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindBZip2.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindBZip2.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findcmake.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findcmake.cmake' file. WARN: replace_in_file didn't find pattern '$<$<S TREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindFreetype.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindFreetype.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findglib.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findglib.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findharfbuzz.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findharfbuzz.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindIconv.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindIconv.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findlibelf.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findlibelf.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findlibffi.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findlibffi.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findlibgettext.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULELIBRARY>:-Wl,--export-dynamic>' in 'Findlibgettext.cmake' file. WARN: replace in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindOpenAL.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindOpenAL.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findopengl_system.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findopengl_system.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindOpenSSL.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindOpenSSL.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindPCRE.cm ake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindPCRE.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findpcre2.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findpcre2.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'Findpkgconf.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'Findpkgconf.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindPNG.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindPN G.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindPostgreSQL.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindPostgreSQL.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindSQLite3.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindSQLite3.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,SHARED_LIBRARY>:-Wl,--export-dynamic>' in 'FindZLIB.cmake' file. WARN: replace_in_file didn't find pattern '$<$<STREQUAL:$,MODULE_LIBRARY>:-Wl,--export-dynamic>' in 'FindZLIB.cmake' file. qt/6.0.1@bincrafters/stable: ERROR: Package 'f623692547ddd9ee41d5a1219114ef41ec9ef309' build failed qt/6.0.1@binc rafters/stable: WARN: Build folder D:.conan\1da849\1 ERROR: qt/6.0.1@bincrafters/stable: Error in build() method, line 647 cmake = self._configure_cmake() while calling '_configure_cmake', line 613 self._cmake.configure(source_folder="qt6") ConanException: Error 1 while executing cd D:.conan\1da849\1 && cmake -G "Ninja" -DCONAN_LINK_RUNTIME="/MD" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="D:.conan\afaf99\1" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_MODULE_PATH="D:/.conan/1da849/1" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_TESTING="OFF" -DBUILD_EXAMPLES="OFF" -DFEATURE_optimize_size="OFF" -DBUILD_qtsvg=" OFF" -DBUILD_qtdeclarative="ON" -DBUILD_qttools="ON" -DBUILD_qttranslations="OFF" -DBUILD_qtdoc="OFF" -DBUILD_qtwayland="OFF" -DBUILD_qtquickcontrols2="OFF" -DBUILD_qtquicktimeline="OFF" -DBUILD_qtquick3d="OFF" -DBUILD_qtshadertools="OFF" -DBUILD_qt5compat="OFF" -DFEATURE_system_zlib="ON" -DINPUT_opengl="desktop" -DINPUT_openssl="linked" -DFEATURE_glib="OFF" -DFEATURE_icu="OFF" -DFEATURE_fontconfig="OFF" -DFEATURE_sql_mysql="OFF" -DFEATURE_sql_psql="ON" -DFEATURE_sql_odbc="ON" -DFEATURE_gui="ON" -DFEATURE_widgets="ON" -DFEATURE_zstd="OFF" -DFEATURE_vulkan="OFF" -DFEATURE_system_freetype="ON" -DFEATURE_system_harfbuzz="ON" -DFEATURE_jpeg="OFF" -DFEATURE_system_jpeg="OFF" -DFEATURE_system_png="ON" -DFEATURE_system_sqlite="ON" -DFEATURE_system_pcre2="ON" -DQT_QMAKE_TARGET_MKSPEC="win32-msvc" -DFEATURE_pkg_config="ON" -Wno-dev D:.conan\1f3c83\1\qt6

CMake Error at D:/Builds/ExpenseAnalyzer/conan.cmake:522 (message): Conan install failed='1' Call Stack (most recent call first): D:/Builds/ExpenseAnalyzer/conan.cmake:754 (old_conan_cmake_install) Application/CMakeLists.txt:10 (conan_cmake_run)

Configuring incomplete, errors occurred! See also "D:/Builds/ExpenseAnalyzer/CMakeFiles/CMakeOutput.log".`

sminjard commented 3 years ago

oh qtsvg now... I guess I will follow the track of dependencies

ericLemanissier commented 3 years ago

indeed. this file should be corrected to list qtsvg in qtdeclarative's dependencies, and qtdeclarative in qttools dependencies..

sminjard commented 3 years ago

Wouldn't it interesting to have these options set as True by default on Windows platform? windeployqt is kinda mandatory for windows platform as RPATH is not supported and Qt DLLs have to be copied (among other things) in the binary folder.

ericLemanissier commented 3 years ago

It would be interesting, but the problem we would have is that with these modules enabled, CI time and disk usage becomes too important for what is currently available for bincrafters for free :/

sminjard commented 3 years ago

Oh I understand. It could be possible to add a README file then with some conan suggestion.

sminjard commented 3 years ago

I am getting this error now : cmake_log.txt

ericLemanissier commented 3 years ago
[1512/3313] Automatic MOC for target OpenGL
AutoMoc warning: Dependency file "BIN:/qtbase/src/opengl/OpenGL_autogen/EWIEGA46WW/moc_qopenglwindow.cpp.d" does not exist.
[1556/3313] Automatic MOC for target QWindowsIntegrationPlugin

AutoMoc warning: Dependency file "BIN:/qtbase/src/plugins/platforms/windows/QWindowsIntegrationPlugin_autogen/EWIEGA46WW/moc_qwindowsmenu.cpp.d" does not exist.
[1620/3313] Building CXX object qtbase\src\opengl\CMakeFiles\OpenGL.dir\OpenGL_autogen\mocs_compilation.cpp.ob
j
FAILED: qtbase/src/opengl/CMakeFiles/OpenGL.dir/OpenGL_autogen/mocs_compilation.cpp.obj 
C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe  /nologo /TP -DAL_LIBTYPE_STATIC -DFFI_BUILDING -DOpenGL_EXPORTS -DPCRE2_STATIC -DPCRE_STATIC=1 -DPKGCONFIG_IS_STATIC -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_OPENGL_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_USING_NAMESPACE -DQT_USE_QSTRINGBUILDER -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -Iqtbase\src\opengl\OpenGL_autogen\include -ID:\Conan\.conan\data\pkgconf\1.7.3\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\include -ID:\Conan\.conan\data\pkgconf\1.7.3\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\include\libpkgconf -ID:\Conan\.conan\data\openssl\1.1.1
i\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\include -ID:\Conan\.conan\data\pcre2\10.33\_\_\package\d5bf9f9853f79bcb782c6a7ad39636782a3da0fd\include -ID:\.conan\e77c78\1\include -ID:\.conan\e77c78\1\include\harfbuzz -ID:\Conan\.conan\data\sqlite3\3.31.0\_\_\package\1617ad9ee038b5cd488d456e6e66e06830a591ce\include -ID:\Conan\.conan\data\libpq\11.5\_\_\package\487a5ebc62be09517ca7a9dbf8f7f4a1f219019b\include -ID:\Conan\.conan\data\openal\1.21.0\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\include -ID:\Conan\.conan\data\openal\1.21.0\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\include\AL -ID:\Conan\.conan\data\freetype\2.10.4\_\_\package\c69bad48274e7fc45c887cddc32aa0459f0a81e0\include -ID:\Conan\.conan\data\freetype\2.10.4\_\_\package\c69bad48274e7fc45c887cddc32aa0459f0a81e0\include\freetype2 -ID:\.conan\5babf9\1\include -ID:\.conan\5babf9\1\include\gio-win32-2.0 -ID:\.conan\5babf9\1\include\glib-2.0 -ID:\.conan\5babf9\1\lib\glib-2.0\include -ID:\Conan\.conan\data\libpng\1.6.37\_\_\pa
ckage\6acf24cd4adf2df742e006cc0e5f0329e3b6e60b\include -ID:\Conan\.conan\data\brotli\1.0.9\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\include -ID:\Conan\.conan\data\brotli\1.0.9\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\include\brotli -ID:\Conan\.conan\data\libffi\3.3\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\include -ID:\Conan\.conan\data\pcre\8.44\_\_\package\7b5990dfb565ffb4578e401404e2eeb2a004379c\include -ID:\Conan\.conan\data\libelf\0.8.13\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\include -ID:\Conan\.conan\data\libgettext\0.20.1\_\_\package\e0c22822cdf05b624135e1696ae5cb784a23aeb3\include -ID:\Conan\.conan\data\zlib\1.2.11\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\include -ID:\Conan\.conan\data\bzip2\1.0.8\_\_\package\589a23dff5fdb23a7fb851223eb766480ead0a9a\include -ID:\Conan\.conan\data\libiconv\1.16\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\include -Iqtbase\include -Iqtbase\include\QtOpenGL -ID:\.conan\1f3c83\1\qt6\qtbase\src\opengl -Iq
tbase\src\opengl -Iqtbase\include\QtOpenGL\6.0.1 -Iqtbase\include\QtOpenGL\6.0.1\QtOpenGL -Iqtbase\include\QtCore -ID:\.conan\1f3c83\1\qt6\qtbase\mkspecs\win32-msvc -Iqtbase\include\QtGui -Iqtbase\src\corelib -Iqtbase\include\QtCore\6.0.1 -Iqtbase\include\QtCore\6.0.1\QtCore -Iqtbase\src\gui -Iqtbase\include\QtGui\6.0.1 -Iqtbase\include\QtGui\6.0.1\QtGui /DWIN32 /D_WINDOWS /GR /EHsc  /MP16 /Zi /Ob0 /Od /RTC1  -MDd -DPCRE_STATIC=1 -DFFI_BUILDING -DAL_LIBTYPE_STATIC -DPCRE2_STATIC -DPKGCONFIG_IS_STATIC /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -std:c++17 /YuD:/.conan/10f19a/1/qtbase/src/opengl/CMakeFiles/OpenGL.dir/cmake_pch.hxx /FpD:/.conan/10f19a/1/qtbase/src/opengl/CMakeFiles/OpenGL.dir/./cmake_pch.cxx.pch /FID:/.conan/10f19a/1/qtbase/src/opengl/CMakeFiles/OpenGL.dir/cmake_pch.hxx /showIncludes /Foqtbase\src\opengl\CMakeFiles\OpenGL.dir\OpenGL_autogen\mocs_compilation.cpp.obj /Fd
qtbase\src\opengl\CMakeFiles\OpenGL.dir\ /FS -c qtbase\src\opengl\OpenGL_autogen\mocs_compilation.cpp
qtbase\src\opengl\OpenGL_autogen\mocs_compilation.cpp(6): fatal error C1083: Cannot open include file: 'EWIEGA46WW/moc_qopenglwindow.cpp': No such file or directory

I'm not sure yet what's happening here

sminjard commented 3 years ago

I don't know if it could help but here is my conanfile.py `settings = "os", "compiler", "build_type", "arch" generators = "qt", "cmake", "cmake_find_package", "cmake_find_package_multi", "pkg_config", "qmake"

def configure(self):
    self.options["qt"].qtsvg = True
    self.options["qt"].qtdeclarative = True
    self.options["qt"].qttools = True

def requirements(self):
    self.requires("qt/6.0.1@bincrafters/stable")`
sminjard commented 3 years ago

Actually, a file remained locked by a process and that was the reason it failed earlier. It now works fine except that he is expecting glib-2.0-0.dll to be present in the binary folder. This dll however exists in a dependency package of conan.

sminjard commented 3 years ago

I copied it using another custom command. After some research on the net it happens often for qt packages that does not come from a Qt install.

sminjard commented 3 years ago

It could be interesting to look into it but for my case I am able to work so I close it. Thanks a lot for the help.

sminjard commented 3 years ago

I have noticed something weird also related to how I was retrieving windeployqt.exe.

` get_target_property(_qmake_executable_Debug Qt6::qmake IMPORTED_LOCATION_DEBUG) get_filename_component(_qt_bin_dir_Debug "${_qmake_executable_Debug}" DIRECTORY)

get_target_property(_qmake_executable_Release Qt6::qmake IMPORTED_LOCATION_RELEASE) get_filename_component(_qt_bin_dir_Release "${_qmake_executable_Release}" DIRECTORY) `

_qmake_executable_Debug has the proper path but not _qmake_executable_Release

ericLemanissier commented 3 years ago

This recipe is now in the Conan Center Index.

Please migrate to the recipe version there. If this is still an issue, please create a new issue in the Conan Center Index issue tracker.

Thanks!

https://conan.io/center/qt

AndreyMlashkin commented 2 years ago

@sminjard , have you managed to use windeployqt? If yes, could you please share your code

sminjard commented 2 years ago

I was able to do so from the official qt package 5.15.2 :

if(WIN32)
    foreach(_config Debug MinSizeRel RelWithDebInfo Release)
        string(TOUPPER ${_config} _uppercase_config)
        message(STATUS ${_uppercase_config} " : " ${CONAN_BIN_DIRS_QT_${_uppercase_config}})

        set(_qt5_windeployqt_executable "${CONAN_BIN_DIRS_QT_${_uppercase_config}}/windeployqt.exe")
        message(STATUS ${_qt5_windeployqt_executable})

        string(
            APPEND _cmd
            "$<IF:$<CONFIG:${_config}>,"
                "${_qt5_windeployqt_executable};--qmldir;${CMAKE_SOURCE_DIR};$<TARGET_FILE_DIR:${PROJECT_NAME}>,"
            ">"
        )

        add_custom_command(
            TARGET ${PROJECT_NAME} POST_BUILD
            COMMAND "${_cmd}"
            COMMAND_EXPAND_LISTS)
    endforeach()
endif()

conanfile looks like this :

class QtConan(ConanFile):
    settings = "os", "arch", "build_type"
    generators = "cmake_multi", "cmake_find_package_multi"

    def configure(self):
        self.options["qt"].qttools = True
        self.options["qt"].shared = True

    def requirements(self):
        self.requires("qt/5.15.2")
AndreyMlashkin commented 1 year ago

@sminjard, how do you use windeployqt? I mean, could you please also share your package method?

sminjard commented 1 year ago

In my previous message, it shows how to execute it via custom command in CMake. I am not sure what you need. Everything is there