Closed rdeterre closed 3 years ago
conan profile show default
conan profile show <profile>
[settings] os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=16 build_type=Debug [options] [build_requires] [env] CC=cl.exe CXX=cl.exe
Create a project directory with the following contents
├── CMakeLists.txt ├── conanfile.py └── main.cpp
conanfile.py
import os from conans import CMake, ConanFile from conans.tools import Version class QtTestConan(ConanFile): name = "qt-test" settings = "os", "compiler", "build_type", "arch" generators = "cmake", "cmake_find_package_multi" requires = "qt/6.0.3" version = "1.0.0" def build(self): cmake = CMake(self) cmake.configure() cmake.build()
CMakeLists.txt
cmake_minimum_required(VERSION 3.16.0) project(qttest VERSION 1.0.0 LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_set_vs_runtime() conan_set_libcxx() conan_output_dirs_setup() set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) find_package(Qt6 COMPONENTS Widgets REQUIRED) add_executable(${PROJECT_NAME} main.cpp) # Must compile with "-fPIC" since Qt was built with -reduce-relocations. target_compile_options(${PROJECT_NAME} PRIVATE -fPIC) target_link_libraries(${PROJECT_NAME} PRIVATE Qt6::Widgets)
main.cpp
#include <QApplication> #include <QPushButton> #include <QtPlugin> int main(int argc, char **argv) { QApplication app(argc, argv); QPushButton button("Test"); button.show(); return app.exec(); }
With these files, the compilation fails with error undefined reference to qInitResources_qstyle()
undefined reference to qInitResources_qstyle()
I tried using only the "cmake" generator by using this modified CMakeLists.txt file, but the same error shows up:
cmake_minimum_required(VERSION 3.16.0) project(qttest VERSION 1.0.0 LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup() set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) find_package(Qt6 COMPONENTS Widgets REQUIRED) add_executable(${PROJECT_NAME} main.cpp) # Must compile with "-fPIC" since Qt was built with -reduce-relocations. target_compile_options(${PROJECT_NAME} PRIVATE -fPIC) target_link_libraries(${PROJECT_NAME} PRIVATE ${CONAN_LIBS})
Thanks for the report. The fix for these errors is in #5234. Until it is merged, the workaround is -o qt:shared=True
-o qt:shared=True
Thanks for the information, I'll go try #5234
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)Steps to reproduce (Include if Applicable)
Create a project directory with the following contents
conanfile.py
CMakeLists.txt
main.cpp
With these files, the compilation fails with error
undefined reference to qInitResources_qstyle()
I tried using only the "cmake" generator by using this modified CMakeLists.txt file, but the same error shows up:
Logs (Include/Attach if Applicable)
Build log
``` $ conan build .. Using lockfile: '/mnt/c/Users/rdeterre/Documents/alazar/utilities/test-qt/build/conan.lock' Using cached profile from lockfile conanfile.py (qt-test/1.0.0): Calling build() -- Conan: C++ stdlib: libstdc++11 -- Library qsqlite found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/res/archdatadir/plugins/sqldrivers/libqsqlite.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/res/archdatadir/plugins/sqldrivers/libqsqlite.a -- Library qsqlpsql found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/res/archdatadir/plugins/sqldrivers/libqsqlpsql.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/res/archdatadir/plugins/sqldrivers/libqsqlpsql.a -- Library qsqlodbc found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/res/archdatadir/plugins/sqldrivers/libqsqlodbc.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/res/archdatadir/plugins/sqldrivers/libqsqlodbc.a -- Library Qt6Network found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Network.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Network.a -- Library Qt6Sql found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Sql.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Sql.a -- Library Qt6Test found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Test.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Test.a -- Library Qt6PrintSupport found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6PrintSupport.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6PrintSupport.a -- Library Qt6OpenGLWidgets found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6OpenGLWidgets.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6OpenGLWidgets.a -- Library Qt6Widgets found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Widgets.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Widgets.a -- Library Qt6OpenGL found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6OpenGL.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6OpenGL.a -- Library Qt6Gui found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Gui.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Gui.a -- Library Qt6DBus found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6DBus.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6DBus.a -- Library Qt6Concurrent found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Concurrent.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Concurrent.a -- Library Qt6Xml found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Xml.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Xml.a -- Library Qt6Core found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Core.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Core.a -- Library Qt6Core_qobject found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Core_qobject.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Core_qobject.a -- Library Qt6Core found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Core.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Core.a -- Library Qt6Core_qobject found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Core_qobject.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Core_qobject.a -- Library Qt6Xml found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Xml.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Xml.a -- Library Qt6Concurrent found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Concurrent.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Concurrent.a -- Library Qt6DBus found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6DBus.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6DBus.a -- Library Qt6Gui found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Gui.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Gui.a -- Library Qt6OpenGL found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6OpenGL.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6OpenGL.a -- Library Qt6Widgets found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Widgets.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Widgets.a -- Library Qt6OpenGLWidgets found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6OpenGLWidgets.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6OpenGLWidgets.a -- Library Qt6PrintSupport found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6PrintSupport.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6PrintSupport.a -- Library Qt6Test found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Test.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Test.a -- Library Qt6Sql found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Sql.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Sql.a -- Library Qt6Network found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Network.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Network.a -- Library qsqlodbc found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/res/archdatadir/plugins/sqldrivers/libqsqlodbc.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/res/archdatadir/plugins/sqldrivers/libqsqlodbc.a -- Library qsqlpsql found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/res/archdatadir/plugins/sqldrivers/libqsqlpsql.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/res/archdatadir/plugins/sqldrivers/libqsqlpsql.a -- Library qsqlite found /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/res/archdatadir/plugins/sqldrivers/libqsqlite.a -- Found: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/res/archdatadir/plugins/sqldrivers/libqsqlite.a -- Conan: Component 'Widgets' found in package 'Qt6' -- Library sqlite3 found /home/rdeterre/.conan/data/sqlite3/3.35.2/_/_/package/c996f44f15ee09fd95cc69cbd9e7898a34536357/lib/libsqlite3.a -- Found: /home/rdeterre/.conan/data/sqlite3/3.35.2/_/_/package/c996f44f15ee09fd95cc69cbd9e7898a34536357/lib/libsqlite3.a -- Library sqlite3 found /home/rdeterre/.conan/data/sqlite3/3.35.2/_/_/package/c996f44f15ee09fd95cc69cbd9e7898a34536357/lib/libsqlite3.a -- Found: /home/rdeterre/.conan/data/sqlite3/3.35.2/_/_/package/c996f44f15ee09fd95cc69cbd9e7898a34536357/lib/libsqlite3.a -- Library pq found /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpq.a -- Found: /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpq.a -- Library pgcommon found /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgcommon.a -- Found: /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgcommon.a -- Library pgcommon_shlib found /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgcommon_shlib.a -- Found: /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgcommon_shlib.a -- Library pgport found /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgport.a -- Found: /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgport.a -- Library pgport_shlib found /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgport_shlib.a -- Found: /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgport_shlib.a -- Library pgport found /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgport.a -- Found: /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgport.a -- Library pgport_shlib found /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgport_shlib.a -- Found: /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgport_shlib.a -- Library pgcommon found /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgcommon.a -- Found: /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgcommon.a -- Library pgcommon_shlib found /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgcommon_shlib.a -- Found: /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpgcommon_shlib.a -- Library pq found /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpq.a -- Found: /home/rdeterre/.conan/data/libpq/13.2/_/_/package/e6f04cefd2bed45e4b0d9f01aafd893b90123c2c/lib/libpq.a -- Library z found /home/rdeterre/.conan/data/zlib/1.2.11/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libz.a -- Found: /home/rdeterre/.conan/data/zlib/1.2.11/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libz.a -- Library odbc found /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libodbc.a -- Found: /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libodbc.a -- Library odbcinst found /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libodbcinst.a -- Found: /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libodbcinst.a -- Library odbccr found /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libodbccr.a -- Found: /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libodbccr.a -- Library ltdl found /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libltdl.a -- Found: /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libltdl.a -- Library ltdl found /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libltdl.a -- Found: /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libltdl.a -- Library odbccr found /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libodbccr.a -- Found: /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libodbccr.a -- Library odbcinst found /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libodbcinst.a -- Found: /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libodbcinst.a -- Library odbc found /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libodbc.a -- Found: /home/rdeterre/.conan/data/odbc/2.3.9/_/_/package/a14e40257772f466c46195c2802783e7ad094e64/lib/libodbc.a -- Library iconv found /home/rdeterre/.conan/data/libiconv/1.16/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libiconv.a -- Found: /home/rdeterre/.conan/data/libiconv/1.16/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libiconv.a -- Library charset found /home/rdeterre/.conan/data/libiconv/1.16/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libcharset.a -- Found: /home/rdeterre/.conan/data/libiconv/1.16/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libcharset.a -- Library ssl found /home/rdeterre/.conan/data/openssl/1.1.1j/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libssl.a -- Found: /home/rdeterre/.conan/data/openssl/1.1.1j/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libssl.a -- Library crypto found /home/rdeterre/.conan/data/openssl/1.1.1j/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libcrypto.a -- Found: /home/rdeterre/.conan/data/openssl/1.1.1j/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libcrypto.a -- Library crypto found /home/rdeterre/.conan/data/openssl/1.1.1j/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libcrypto.a -- Found: /home/rdeterre/.conan/data/openssl/1.1.1j/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libcrypto.a -- Library ssl found /home/rdeterre/.conan/data/openssl/1.1.1j/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libssl.a -- Found: /home/rdeterre/.conan/data/openssl/1.1.1j/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libssl.a -- Library freetyped found /home/rdeterre/.conan/data/freetype/2.10.4/_/_/package/561987c2b31e7c0ef595deb204badca7d49a4877/lib/libfreetyped.a -- Found: /home/rdeterre/.conan/data/freetype/2.10.4/_/_/package/561987c2b31e7c0ef595deb204badca7d49a4877/lib/libfreetyped.a -- Library png16d found /home/rdeterre/.conan/data/libpng/1.6.37/_/_/package/acc1bd9feeca12810ba1313c4fd8867e201d928f/lib/libpng16d.a -- Found: /home/rdeterre/.conan/data/libpng/1.6.37/_/_/package/acc1bd9feeca12810ba1313c4fd8867e201d928f/lib/libpng16d.a -- Dependency ZLIB already found -- Dependency ZLIB already found -- Library bz2 found /home/rdeterre/.conan/data/bzip2/1.0.8/_/_/package/1d984b241c5c01f748cafe0b37dc9567ed236fef/lib/libbz2.a -- Found: /home/rdeterre/.conan/data/bzip2/1.0.8/_/_/package/1d984b241c5c01f748cafe0b37dc9567ed236fef/lib/libbz2.a -- Library brotlidec-static found /home/rdeterre/.conan/data/brotli/1.0.9/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libbrotlidec-static.a -- Found: /home/rdeterre/.conan/data/brotli/1.0.9/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libbrotlidec-static.a -- Library brotlienc-static found /home/rdeterre/.conan/data/brotli/1.0.9/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libbrotlienc-static.a -- Found: /home/rdeterre/.conan/data/brotli/1.0.9/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libbrotlienc-static.a -- Library brotlicommon-static found /home/rdeterre/.conan/data/brotli/1.0.9/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libbrotlicommon-static.a -- Found: /home/rdeterre/.conan/data/brotli/1.0.9/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libbrotlicommon-static.a -- Library brotlicommon-static found /home/rdeterre/.conan/data/brotli/1.0.9/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libbrotlicommon-static.a -- Found: /home/rdeterre/.conan/data/brotli/1.0.9/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libbrotlicommon-static.a -- Library brotlienc-static found /home/rdeterre/.conan/data/brotli/1.0.9/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libbrotlienc-static.a -- Found: /home/rdeterre/.conan/data/brotli/1.0.9/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libbrotlienc-static.a -- Library brotlidec-static found /home/rdeterre/.conan/data/brotli/1.0.9/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libbrotlidec-static.a -- Found: /home/rdeterre/.conan/data/brotli/1.0.9/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libbrotlidec-static.a -- Dependency PNG already found -- Library fontconfig found /home/rdeterre/.conan/data/fontconfig/2.13.93/_/_/package/211285f7c5eb7915075b241bd6a053e345cec58c/lib/libfontconfig.a -- Found: /home/rdeterre/.conan/data/fontconfig/2.13.93/_/_/package/211285f7c5eb7915075b241bd6a053e345cec58c/lib/libfontconfig.a -- Dependency freetype already found -- Library expat found /home/rdeterre/.conan/data/expat/2.2.10/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libexpat.a -- Found: /home/rdeterre/.conan/data/expat/2.2.10/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libexpat.a -- Library uuid found /home/rdeterre/.conan/data/libuuid/1.0.3/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libuuid.a -- Found: /home/rdeterre/.conan/data/libuuid/1.0.3/_/_/package/23b828d52c0630e6b0b96d2945419feb7843c4f8/lib/libuuid.a -- Library xkbcommon-x11 found /home/rdeterre/.conan/data/xkbcommon/1.1.0/_/_/package/bcc9aa6a9c2f4c6de337fee581ba086fb62dcdf6/lib/libxkbcommon-x11.a -- Found: /home/rdeterre/.conan/data/xkbcommon/1.1.0/_/_/package/bcc9aa6a9c2f4c6de337fee581ba086fb62dcdf6/lib/libxkbcommon-x11.a -- Library xkbcommon found /home/rdeterre/.conan/data/xkbcommon/1.1.0/_/_/package/bcc9aa6a9c2f4c6de337fee581ba086fb62dcdf6/lib/libxkbcommon.a -- Found: /home/rdeterre/.conan/data/xkbcommon/1.1.0/_/_/package/bcc9aa6a9c2f4c6de337fee581ba086fb62dcdf6/lib/libxkbcommon.a -- Library xkbregistry found /home/rdeterre/.conan/data/xkbcommon/1.1.0/_/_/package/bcc9aa6a9c2f4c6de337fee581ba086fb62dcdf6/lib/libxkbregistry.a -- Found: /home/rdeterre/.conan/data/xkbcommon/1.1.0/_/_/package/bcc9aa6a9c2f4c6de337fee581ba086fb62dcdf6/lib/libxkbregistry.a -- Library xkbregistry found /home/rdeterre/.conan/data/xkbcommon/1.1.0/_/_/package/bcc9aa6a9c2f4c6de337fee581ba086fb62dcdf6/lib/libxkbregistry.a -- Found: /home/rdeterre/.conan/data/xkbcommon/1.1.0/_/_/package/bcc9aa6a9c2f4c6de337fee581ba086fb62dcdf6/lib/libxkbregistry.a -- Library xkbcommon found /home/rdeterre/.conan/data/xkbcommon/1.1.0/_/_/package/bcc9aa6a9c2f4c6de337fee581ba086fb62dcdf6/lib/libxkbcommon.a -- Found: /home/rdeterre/.conan/data/xkbcommon/1.1.0/_/_/package/bcc9aa6a9c2f4c6de337fee581ba086fb62dcdf6/lib/libxkbcommon.a -- Library xkbcommon-x11 found /home/rdeterre/.conan/data/xkbcommon/1.1.0/_/_/package/bcc9aa6a9c2f4c6de337fee581ba086fb62dcdf6/lib/libxkbcommon-x11.a -- Found: /home/rdeterre/.conan/data/xkbcommon/1.1.0/_/_/package/bcc9aa6a9c2f4c6de337fee581ba086fb62dcdf6/lib/libxkbcommon-x11.a -- Dependency xorg already found -- Dependency xorg already found -- Dependency xorg already found -- Library xml2 found /home/rdeterre/.conan/data/libxml2/2.9.10/_/_/package/828dc588d567dd67edbf9979960a988c5ae961ce/lib/libxml2.a -- Found: /home/rdeterre/.conan/data/libxml2/2.9.10/_/_/package/828dc588d567dd67edbf9979960a988c5ae961ce/lib/libxml2.a -- Dependency ZLIB already found -- Dependency Iconv already found -- Dependency ZLIB already found -- Library pcre2-posix found /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-posix.a -- Found: /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-posix.a -- Library pcre2-8 found /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-8.a -- Found: /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-8.a -- Library pcre2-16 found /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-16.a -- Found: /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-16.a -- Library pcre2-32 found /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-32.a -- Found: /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-32.a -- Library pcre2-32 found /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-32.a -- Found: /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-32.a -- Library pcre2-16 found /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-16.a -- Found: /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-16.a -- Library pcre2-8 found /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-8.a -- Found: /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-8.a -- Library pcre2-posix found /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-posix.a -- Found: /home/rdeterre/.conan/data/pcre2/10.36/_/_/package/bf74575bcbad34c1a86326fb56ab6cfcf19286fb/lib/libpcre2-posix.a -- Dependency ZLIB already found -- Dependency BZip2 already found -- Library double-conversion found /home/rdeterre/.conan/data/double-conversion/3.1.5/_/_/package/038baac88f4c7bfa972ce5adac1616bed8fe2ef4/lib/libdouble-conversion.a -- Found: /home/rdeterre/.conan/data/double-conversion/3.1.5/_/_/package/038baac88f4c7bfa972ce5adac1616bed8fe2ef4/lib/libdouble-conversion.a -- Library icuio found /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicuio.a -- Found: /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicuio.a -- Library icutest found /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicutest.a -- Found: /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicutest.a -- Library icutu found /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicutu.a -- Found: /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicutu.a -- Library icui18n found /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicui18n.a -- Found: /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicui18n.a -- Library icuuc found /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicuuc.a -- Found: /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicuuc.a -- Library icudata found /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicudata.a -- Found: /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicudata.a -- Library icudata found /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicudata.a -- Found: /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicudata.a -- Library icuuc found /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicuuc.a -- Found: /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicuuc.a -- Library icui18n found /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicui18n.a -- Found: /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicui18n.a -- Library icutu found /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicutu.a -- Found: /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicutu.a -- Library icutest found /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicutest.a -- Found: /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicutest.a -- Library icuio found /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicuio.a -- Found: /home/rdeterre/.conan/data/icu/68.2/_/_/package/2f4cfb01ed11999007b3cea2e9638b051916589c/lib/libicuio.a -- Configuring done -- Generating done -- Build files have been written to: /mnt/c/Users/rdeterre/Documents/alazar/utilities/test-qt/build make: Warning: File 'Makefile' has modification time 12 s in the future make[1]: Warning: File 'CMakeFiles/Makefile2' has modification time 12 s in the future make[2]: Warning: File 'CMakeFiles/qttest_autogen.dir/progress.make' has modification time 12 s in the future make[2]: warning: Clock skew detected. Your build may be incomplete. make[2]: Warning: File 'CMakeFiles/qttest_autogen.dir/progress.make' has modification time 12 s in the future [ 25%] Automatic MOC and UIC for target qttest make[2]: warning: Clock skew detected. Your build may be incomplete. [ 25%] Built target qttest_autogen make[2]: Warning: File 'CMakeFiles/qttest.dir/progress.make' has modification time 12 s in the future Scanning dependencies of target qttest make[2]: warning: Clock skew detected. Your build may be incomplete. make[2]: Warning: File 'CMakeFiles/qttest.dir/progress.make' has modification time 11 s in the future [ 50%] Building CXX object CMakeFiles/qttest.dir/main.cpp.o [ 75%] Linking CXX executable bin/qttest /usr/bin/ld: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Widgets.a(qapplication.cpp.o): in function `initResources()': /home/conan/w/BuildSingleReference/.conan/data/qt/6.0.3/_/_/source/qt6/qtbase/src/widgets/kernel/qapplication.cpp:122: undefined reference to `qInitResources_qstyle()' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/qt/6.0.3/_/_/source/qt6/qtbase/src/widgets/kernel/qapplication.cpp:125: undefined reference to `qInitResources_qmessagebox()' /usr/bin/ld: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Gui.a(mocs_compilation.cpp.o):(.data.rel.ro._ZN16QDBusMenuAdaptor16staticMetaObjectE+0x0): undefined reference to `QDBusAbstractAdaptor::staticMetaObject' /usr/bin/ld: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Gui.a(mocs_compilation.cpp.o): in function `QDBusMenuAdaptor::qt_metacast(char const*)': /home/conan/w/BuildSingleReference/.conan/data/qt/6.0.3/_/_/build/c62646376ef16052c891bf943345bd96cdcf2a09/qtbase/src/gui/Gui_autogen/U4EE5AVHME/moc_qdbusmenuadaptor_p.cpp:334: undefined reference to `QDBusAbstractAdaptor::qt_metacast(char const*)' /usr/bin/ld: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Gui.a(mocs_compilation.cpp.o): in function `QDBusMenuAdaptor::qt_metacall(QMetaObject::Call, int, void**)': /home/conan/w/BuildSingleReference/.conan/data/qt/6.0.3/_/_/build/c62646376ef16052c891bf943345bd96cdcf2a09/qtbase/src/gui/Gui_autogen/U4EE5AVHME/moc_qdbusmenuadaptor_p.cpp:339: undefined reference to `QDBusAbstractAdaptor::qt_metacall(QMetaObject::Call, int, void**)' /usr/bin/ld: /home/rdeterre/.conan/data/qt/6.0.3/_/_/package/c62646376ef16052c891bf943345bd96cdcf2a09/lib/libQt6Gui.a(mocs_compilation.cpp.o): in function `QtPrivate::MetaObjectForType