Skip to content

Installation and Deployment

Your Qt just doesn't want to build? Your compiler can't find the libs? Here's where you find comfort and understanding. And help.
9.7k Topics 50.8k Posts
QtWS25 Last Chance
  • Version Selection Qt

    Unsolved
    4
    0 Votes
    4 Posts
    320 Views
    jsulmJ
    https://www.qt.io/download
  • Deployment on macOS

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    S
    @SGaist In my case the source folder is the one generated by just compiling. So far, it only contains a single executable. Symbolic links would have to be adapted anyways to not point outside the AppImage we are creating.
  • 0 Votes
    15 Posts
    1k Views
    SGaistS
    @FeRDNYC that is something that has changed with the update :-)
  • Qt Kits error MSVC and MINGW in Qt-6.6.0

    Unsolved kits msvc2019 mingw 64 bit
    6
    0 Votes
    6 Posts
    835 Views
    Ronel_qtmasterR
    @Rohith Hi. To have cmake to work for your project in this case , just unset the command CMAKE_PROJECT_INCLUDE_BEFORE and try again. For visual studio Kit, just install microsoft visual studio 2019 build tools. Hope it helps
  • Silent installation commercial product

    Unsolved
    4
    0 Votes
    4 Posts
    416 Views
    JonBJ
    If you are saying you have a licensed commercial version of Qt then you can ask TQtC about this.
  • Include additional libs to static Qt build

    Unsolved
    8
    0 Votes
    8 Posts
    685 Views
    A
    @Christian-Ehrlicher I compiled the libs: libOpenGL,libGLX,libEGL statically and got the .a files of that libs, also i installed them to linux environment so Qt Creator project find them, but i have a lot of errors trying to compile the test project linking the libs statically. I've built the libs from source: libglvnd I've used the following configuration for meson builder: meson --default-library=static /home/alex/Downloads/libglvnd/build Here is my .pro file: QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += static # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 SOURCES += \ main.cpp \ mainwindow.cpp HEADERS += \ mainwindow.h FORMS += \ mainwindow.ui QMAKE_LFLAGS += -static # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target Here is compiler errors output: 22:16:32: Running steps for project st... 22:16:32: Starting: "/usr/bin/make" clean -j2 rm -f moc_predefs.h rm -f moc_mainwindow.cpp rm -f ui_mainwindow.h rm -f main.o mainwindow.o st_plugin_import.o moc_mainwindow.o rm -f *~ core *.core 22:16:32: The process "/usr/bin/make" exited normally. 22:16:32: Starting: "/home/alex/Qt/6.7.0/static_gcc_64/bin/qmake" /home/alex/Qt/QtProjects/st/st.pro -spec linux-g++ CONFIG+=qtquickcompiler 22:16:32: The process "/home/alex/Qt/6.7.0/static_gcc_64/bin/qmake" exited normally. 22:16:32: Starting: "/usr/bin/make" -f /home/alex/Qt/QtProjects/st/build/Desktop_Qt_6_7_0_static_gcc_64-Release/Makefile qmake_all make: Nothing to be done for 'qmake_all'. 22:16:32: The process "/usr/bin/make" exited normally. 22:16:32: Starting: "/usr/bin/make" -j2 /home/alex/Qt/6.7.0/static_gcc_64/libexec/uic ../../mainwindow.ui -o ui_mainwindow.h g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../st -I. -I../../../../6.7.0/static_gcc_64/include -I../../../../6.7.0/static_gcc_64/include/QtWidgets -I../../../../6.7.0/static_gcc_64/include/QtGui -I../../../../6.7.0/static_gcc_64/include/QtCore -I. -I. -I../../../../6.7.0/static_gcc_64/mkspecs/linux-g++ -o main.o ../../main.cpp g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../st -I. -I../../../../6.7.0/static_gcc_64/include -I../../../../6.7.0/static_gcc_64/include/QtWidgets -I../../../../6.7.0/static_gcc_64/include/QtGui -I../../../../6.7.0/static_gcc_64/include/QtCore -I. -I. -I../../../../6.7.0/static_gcc_64/mkspecs/linux-g++ -o st_plugin_import.o /home/alex/Qt/QtProjects/st/build/Desktop_Qt_6_7_0_static_gcc_64-Release/st_plugin_import.cpp g++ -pipe -O2 -Wall -Wextra -fPIC -dM -E -o moc_predefs.h ../../../../6.7.0/static_gcc_64/mkspecs/features/data/dummy.cpp g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../st -I. -I../../../../6.7.0/static_gcc_64/include -I../../../../6.7.0/static_gcc_64/include/QtWidgets -I../../../../6.7.0/static_gcc_64/include/QtGui -I../../../../6.7.0/static_gcc_64/include/QtCore -I. -I. -I../../../../6.7.0/static_gcc_64/mkspecs/linux-g++ -o mainwindow.o ../../mainwindow.cpp /home/alex/Qt/6.7.0/static_gcc_64/libexec/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/alex/Qt/QtProjects/st/build/Desktop_Qt_6_7_0_static_gcc_64-Release/moc_predefs.h -I/home/alex/Qt/6.7.0/static_gcc_64/mkspecs/linux-g++ -I/home/alex/Qt/QtProjects/st -I/home/alex/Qt/6.7.0/static_gcc_64/include -I/home/alex/Qt/6.7.0/static_gcc_64/include/QtWidgets -I/home/alex/Qt/6.7.0/static_gcc_64/include/QtGui -I/home/alex/Qt/6.7.0/static_gcc_64/include/QtCore -I. -I/usr/include/c++/11 -I/usr/include/x86_64-linux-gnu/c++/11 -I/usr/include/c++/11/backward -I/usr/lib/gcc/x86_64-linux-gnu/11/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include ../../mainwindow.h -o moc_mainwindow.cpp g++ -c -pipe -O2 -Wall -Wextra -fPIC -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../st -I. -I../../../../6.7.0/static_gcc_64/include -I../../../../6.7.0/static_gcc_64/include/QtWidgets -I../../../../6.7.0/static_gcc_64/include/QtGui -I../../../../6.7.0/static_gcc_64/include/QtCore -I. -I. -I../../../../6.7.0/static_gcc_64/mkspecs/linux-g++ -o moc_mainwindow.o moc_mainwindow.cpp g++ -static -Wl,-O1 -o st main.o mainwindow.o st_plugin_import.o moc_mainwindow.o /home/alex/Qt/6.7.0/static_gcc_64/lib/objects-Release/Gui_resources_1/.rcc/qrc_qpdf_init.cpp.o /home/alex/Qt/6.7.0/static_gcc_64/lib/objects-Release/Gui_resources_2/.rcc/qrc_gui_shaders_init.cpp.o /home/alex/Qt/6.7.0/static_gcc_64/plugins/platforms/libqxcb.a /home/alex/Qt/6.7.0/static_gcc_64/plugins/xcbglintegrations/libqxcb-egl-integration.a /home/alex/Qt/6.7.0/static_gcc_64/plugins/xcbglintegrations/libqxcb-glx-integration.a /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6XcbQpa.a -lxkbcommon-x11 -lxcb-cursor -lxcb-icccm -lxcb-image -lxcb-keysyms -lxcb-randr -lxcb-render-util -lxcb-shm -lxcb-sync -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb-xkb -lxcb-glx /home/alex/Qt/6.7.0/static_gcc_64/plugins/iconengines/libqsvgicon.a /home/alex/Qt/6.7.0/static_gcc_64/plugins/imageformats/libqgif.a /home/alex/Qt/6.7.0/static_gcc_64/plugins/imageformats/libqicns.a /home/alex/Qt/6.7.0/static_gcc_64/plugins/imageformats/libqico.a /home/alex/Qt/6.7.0/static_gcc_64/plugins/imageformats/libqjpeg.a /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6BundledLibjpeg.a /home/alex/Qt/6.7.0/static_gcc_64/plugins/imageformats/libqsvg.a /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6Svg.a /home/alex/Qt/6.7.0/static_gcc_64/plugins/imageformats/libqtga.a /home/alex/Qt/6.7.0/static_gcc_64/plugins/imageformats/libqtiff.a /home/alex/Qt/6.7.0/static_gcc_64/plugins/imageformats/libqwbmp.a /home/alex/Qt/6.7.0/static_gcc_64/plugins/imageformats/libqwebp.a /home/alex/Qt/6.7.0/static_gcc_64/lib/objects-Release/EglFSDeviceIntegrationPrivate_resources_1/.rcc/qrc_cursor_init.cpp.o /home/alex/Qt/6.7.0/static_gcc_64/plugins/egldeviceintegrations/libqeglfs-emu-integration.a /home/alex/Qt/6.7.0/static_gcc_64/plugins/egldeviceintegrations/libqeglfs-x11-integration.a /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6EglFSDeviceIntegration.a /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6FbSupport.a /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6InputSupport.a /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6DeviceDiscoverySupport.a /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6OpenGL.a -lX11-xcb -lxcb /home/alex/Qt/6.7.0/static_gcc_64/lib/objects-Release/Widgets_resources_1/.rcc/qrc_qstyle_init.cpp.o /home/alex/Qt/6.7.0/static_gcc_64/lib/objects-Release/Widgets_resources_2/.rcc/qrc_qstyle1_init.cpp.o /home/alex/Qt/6.7.0/static_gcc_64/lib/objects-Release/Widgets_resources_3/.rcc/qrc_qstyle_fusion_init.cpp.o /home/alex/Qt/6.7.0/static_gcc_64/lib/objects-Release/Widgets_resources_4/.rcc/qrc_qmessagebox_init.cpp.o /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6Widgets.a /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6Gui.a -lEGL -lpng /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6BundledHarfbuzz.a -lfreetype -lfontconfig -lX11 /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6DBus.a -ldbus-1 -lxkbcommon /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6Core.a -lz -lm -lpcre2-16 -ldl -lrt -lpthread -lGLX -lOpenGL /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `AtomicIncrement': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:1848: multiple definition of `AtomicIncrement'; /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o):/home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:1191: first defined here /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `AtomicSwap': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:1866: multiple definition of `AtomicSwap'; /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o):/home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:1209: first defined here /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `AtomicCompareAndSwap': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:1883: multiple definition of `AtomicCompareAndSwap'; /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o):/home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:1226: first defined here /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `AtomicDecrementClampAtZero': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:1900: multiple definition of `AtomicDecrementClampAtZero'; /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o):/home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:1243: first defined here /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o): in function `IsX11Display': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:189: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libdbus-1.a(libdbus_1_la-dbus-sysdeps-unix.o): in function `fill_user_info': (.text+0x2cf): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6Core.a(qfilesystemengine_unix.cpp.o): in function `QFileSystemEngine::resolveGroupName(unsigned int)': qfilesystemengine_unix.cpp:(.text._ZN17QFileSystemEngine16resolveGroupNameEj+0x17e): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /home/alex/Qt/6.7.0/static_gcc_64/lib/libQt6Widgets.a(qfiledialog.cpp.o): in function `qt_tildeExpansion(QString const&)': qfiledialog.cpp:(.text._Z17qt_tildeExpansionRK7QString+0x14d): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libdbus-1.a(libdbus_1_la-dbus-sysdeps-unix.o): in function `fill_user_info': (.text+0x17b): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libxcb.a(xcb_util.o): in function `_xcb_open_tcp': (.text+0x428): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libfreetype.a(sfnt.o): in function `sfnt_init_face': (.text+0xf543): undefined reference to `BrotliDecoderDecompress' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libfontconfig.a(fcxml.o): in function `FcConfigMessage': (.text+0x2f2): undefined reference to `XML_GetCurrentLineNumber' /usr/bin/ld: (.text+0x371): undefined reference to `XML_GetCurrentLineNumber' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libfontconfig.a(fcxml.o): in function `FcConfigParseAndLoadFromMemoryInternal': (.text+0x1319): undefined reference to `XML_ParserCreate' /usr/bin/ld: (.text+0x139d): undefined reference to `XML_SetUserData' /usr/bin/ld: (.text+0x13b3): undefined reference to `XML_SetDoctypeDeclHandler' /usr/bin/ld: (.text+0x13c9): undefined reference to `XML_SetElementHandler' /usr/bin/ld: (.text+0x13d8): undefined reference to `XML_SetCharacterDataHandler' /usr/bin/ld: (.text+0x13e9): undefined reference to `XML_GetBuffer' /usr/bin/ld: (.text+0x1452): undefined reference to `XML_ParseBuffer' /usr/bin/ld: (.text+0x145e): undefined reference to `XML_GetErrorCode' /usr/bin/ld: (.text+0x1465): undefined reference to `XML_ErrorString' /usr/bin/ld: (.text+0x14b7): undefined reference to `XML_ParserFree' /usr/bin/ld: (.text+0x154f): undefined reference to `XML_ParseBuffer' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libxcb-image.a(xcb_image.o): in function `xcb_create_pixmap_from_bitmap_data': (.text+0x14b4): undefined reference to `xcb_aux_create_gc' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libxcb.a(xcb_auth.o): in function `get_authptr': (.text+0xd0): undefined reference to `XauGetBestAuthByAddr' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libxcb.a(xcb_auth.o): in function `_xcb_get_auth_info': (.text+0x2d9): undefined reference to `XauDisposeAuth' /usr/bin/ld: (.text+0x51f): undefined reference to `XdmcpWrap' /usr/bin/ld: (.text+0x52f): undefined reference to `XauDisposeAuth' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o): in function `__eglGetCurrentAPIState': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libeglcurrent.h:104: undefined reference to `__glDispatchGetCurrentThreadState' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o): in function `InternalLoseCurrent': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:559: undefined reference to `__glDispatchLoseCurrent' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o): in function `InternalMakeCurrentDispatch': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:624: undefined reference to `__glDispatchMakeCurrent' /usr/bin/ld: /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:636: undefined reference to `__glDispatchLoseCurrent' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o): in function `eglMakeCurrent': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:675: undefined reference to `__glDispatchGetCurrentThreadState' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o): in function `eglReleaseThread': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:803: undefined reference to `__glDispatchLoseCurrent' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o): in function `eglGetProcAddress': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:1177: undefined reference to `__glDispatchGetProcAddress' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o): in function `__eglThreadInitialize': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:1308: undefined reference to `__glDispatchCheckMultithreaded' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o): in function `__eglResetOnFork': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:1340: undefined reference to `__glDispatchReset' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o): in function `__eglInit': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:1349: undefined reference to `__glDispatchGetABIVersion' /usr/bin/ld: /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:1355: undefined reference to `__glDispatchInit' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libegl.c.o): in function `__eglFini': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:1384: undefined reference to `__glDispatchGetCurrentThreadState' /usr/bin/ld: /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:1387: undefined reference to `__glDispatchLoseCurrent' /usr/bin/ld: /home/alex/Downloads/libglvnd-master/build/../src/EGL/libegl.c:1399: undefined reference to `__glDispatchFini' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libeglcurrent.c.o): in function `__eglGetCurrentAPIState': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libeglcurrent.h:104: undefined reference to `__glDispatchGetCurrentThreadState' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libeglvendor.c.o): in function `__eglTeardownVendors': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libeglvendor.c:150: undefined reference to `__glDispatchForceUnpatch' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libeglvendor.c.o): in function `TeardownVendor': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libeglvendor.c:173: undefined reference to `__glDispatchDestroyTable' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libEGL.a(libeglvendor.c.o): in function `LoadVendor': /home/alex/Downloads/libglvnd-master/build/../src/EGL/libeglvendor.c:572: undefined reference to `__glDispatchNewVendorID' /usr/bin/ld: /home/alex/Downloads/libglvnd-master/build/../src/EGL/libeglvendor.c:576: undefined reference to `__glDispatchCreateTable' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libfontconfig.a(fcfreetype.o): in function `FcFreeTypeQueryFaceInternal': (.text+0x2ac1): undefined reference to `FT_Get_BDF_Property' /usr/bin/ld: (.text+0x2af7): undefined reference to `FT_Get_BDF_Property' /usr/bin/ld: (.text+0x2bf7): undefined reference to `FT_Get_BDF_Property' /usr/bin/ld: (.text+0x2c58): undefined reference to `FT_Get_BDF_Property' /usr/bin/ld: (.text+0x2c74): undefined reference to `FT_Get_BDF_Property' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libfontconfig.a(fcfreetype.o):(.text+0x2d77): more undefined references to `FT_Get_BDF_Property' follow /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libfontconfig.a(fchash.o): in function `FcHashUuidCopy': (.text+0x204): undefined reference to `uuid_copy' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libfontconfig.a(fccache.o): in function `FcDirCacheBasenameUUID': (.text+0x7d2): undefined reference to `uuid_unparse' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libfontconfig.a(fccache.o): in function `IA__FcDirCacheCreateUUID': (.text+0x1527): undefined reference to `uuid_generate_random' /usr/bin/ld: (.text+0x1570): undefined reference to `uuid_unparse' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libfontconfig.a(fccache.o): in function `IA__FcDirCacheLoad': (.text+0x2340): undefined reference to `uuid_parse' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libdbus-1.a(libdbus_1_la-dbus-sysdeps-unix.o): in function `_dbus_listen_systemd_sockets': (.text+0x200e): undefined reference to `sd_listen_fds' /usr/bin/ld: (.text+0x204f): undefined reference to `sd_is_socket' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `__glXGetCurrentThreadState': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglxcurrent.h:71: undefined reference to `__glDispatchGetCurrentThreadState' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `__glXDisplayClosed': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:626: undefined reference to `__glDispatchLoseCurrent' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `InternalLoseCurrent': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:838: undefined reference to `__glDispatchLoseCurrent' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `InternalMakeCurrentDispatch': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:917: undefined reference to `__glDispatchMakeCurrent' /usr/bin/ld: /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:929: undefined reference to `__glDispatchLoseCurrent' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `CommonMakeCurrent': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:976: undefined reference to `__glDispatchGetCurrentThreadState' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `GetVendorClientStrings': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:1250: undefined reference to `XScreenCount' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `glXGetClientString': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:1393: undefined reference to `XScreenCount' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `glXGetProcAddress': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:1819: undefined reference to `__glDispatchGetProcAddress' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `__glXThreadInitialize': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:1965: undefined reference to `__glDispatchCheckMultithreaded' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `__glXResetOnFork': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:2014: undefined reference to `__glDispatchReset' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `__glXInit': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:2073: undefined reference to `__glDispatchGetABIVersion' /usr/bin/ld: /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:2079: undefined reference to `__glDispatchInit' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglx.c.o): in function `__glXFini': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:2138: undefined reference to `__glDispatchGetCurrentThreadState' /usr/bin/ld: /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:2141: undefined reference to `__glDispatchLoseCurrent' /usr/bin/ld: /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglx.c:2151: undefined reference to `__glDispatchFini' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglxmapping.c.o): in function `__glXGetGLXDispatchAddress': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglxmapping.c:208: undefined reference to `__glDispatchGetProcAddress' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglxmapping.c.o): in function `GLXEntrypointUpdateCallback': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglxmapping.c:249: undefined reference to `__glDispatchGetProcAddress' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglxmapping.c.o): in function `CleanupVendorNameEntry': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglxmapping.c:309: undefined reference to `__glDispatchDestroyTable' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglxmapping.c.o): in function `__glXLookupVendorByName': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglxmapping.c:440: undefined reference to `__glDispatchNewVendorID' /usr/bin/ld: /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglxmapping.c:443: undefined reference to `__glDispatchCreateTable' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libGLX.a(libglxmapping.c.o): in function `__glXMappingTeardown': /home/alex/Downloads/libglvnd-master/build/../src/GLX/libglxmapping.c:1070: undefined reference to `__glDispatchForceUnpatch' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libOpenGL.a(entry_x86_64_tls.c.o): in function `public_entry_start': entry_x86_64_tls.c:(wtext+0x7): undefined reference to `_glapi_tls_Current' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libOpenGL.a(entry_x86_64_tls.c.o): in function `glActiveShaderProgram': entry_x86_64_tls.c:(wtext+0x27): undefined reference to `_glapi_tls_Current' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libOpenGL.a(entry_x86_64_tls.c.o): in function `glActiveTexture': entry_x86_64_tls.c:(wtext+0x47): undefined reference to `_glapi_tls_Current' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libOpenGL.a(entry_x86_64_tls.c.o): in function `glAlphaFunc': entry_x86_64_tls.c:(wtext+0x67): undefined reference to `_glapi_tls_Current' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libOpenGL.a(entry_x86_64_tls.c.o): in function `glAreTexturesResident': entry_x86_64_tls.c:(wtext+0x87): undefined reference to `_glapi_tls_Current' /usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/libOpenGL.a(entry_x86_64_tls.c.o):entry_x86_64_tls.c:(wtext+0xa7): more undefined references to `_glapi_tls_Current' follow collect2: error: ld returned 1 exit status make: *** [Makefile:474: st] Error 1 22:16:41: The process "/usr/bin/make" exited with code 2. Error while building/deploying project st (kit: Desktop Qt 6.7.0 (static_gcc_64)) When executing step "Make" 22:16:41: Elapsed time: 00:08. What should i do for solving the errors ? Thank you
  • trying to build a static Qt for Windows

    Solved
    18
    0 Votes
    18 Posts
    4k Views
    mzimmersM
    @cristian-adam submitted. Thanks.
  • Error while installing Qt on Linux 64 bit OS

    Unsolved
    7
    0 Votes
    7 Posts
    671 Views
    H
    Older version online runner may success. I have just installed Qt creator successfully by using the installer provided in my link. You can also check other mirrors for your convenience.
  • QT Android Instalation

    Solved
    7
    0 Votes
    7 Posts
    464 Views
    P
    @Patar Done it, need to adjust the android studio to have same SDK same as in the QT
  • binarycreator error: Could not create handler object for archive

    Unsolved
    1
    0 Votes
    1 Posts
    114 Views
    No one has replied
  • Qt 6.6.7 error using ninja build and cmake

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    P
    @cristian-adam Thanks mate. That did it.
  • qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""

    Unsolved
    8
    0 Votes
    8 Posts
    4k Views
    N
    Maybe missing libxkbcommon. yum install libxkbcommon libxkbcommon-devel libxkbcommon-x11 libxkbcommon-x11-devel
  • Qt Installation x64 4.7.0 failing on Windows with Online Installer

    Solved installation windows
    7
    0 Votes
    7 Posts
    580 Views
    R
    @Axel-Spoerl Thanks, will do the same.
  • How to configure Qt5 for cross compilation?

    Unsolved
    1
    0 Votes
    1 Posts
    104 Views
    No one has replied
  • Unable to build static version of Qt 5.15.2

    Solved
    21
    0 Votes
    21 Posts
    7k Views
    J
    it generates this error with gcc11.x compile it specifically using gcc9.x (for e.g. gcc9.4) and it will compile without any problem
  • qt.qpa.plugin: Could not find the Qt platform plugin

    Unsolved
    17
    0 Votes
    17 Posts
    19k Views
    A
    @jsulm Thank you very much for replies and your time, finally i found a solution to build a static Qt lib using this approach: https://forum.qt.io/topic/115827/build-on-linux-qt-xcb-option/12
  • Qt and Yocto

    Unsolved
    1
    0 Votes
    1 Posts
    108 Views
    No one has replied
  • MSVC compiler doesn't work

    Solved
    14
    0 Votes
    14 Posts
    998 Views
    cristian-adamC
    The MSVC compiler works 🎉 The QML issue is something else, also the error is not revealed. I can't say what's wrong with it.
  • install qt5.14.2 on rhel6.9, but with xcb issues

    Unsolved
    4
    0 Votes
    4 Posts
    247 Views
    jsulmJ
    @onroad The one which did not work
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    15 Views
    No one has replied