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 51.1k Posts
  • 0 Votes
    2 Posts
    359 Views
    T
    For the people who face the same issue as me: I found the solution for this issue. We need to set QML2_IMPORT_PATH environment variable to qml dir in qtdeclarative component by running: export QML2_IMPORT_PATH=/path/qt5/qtdeclarative/qml before running make check.
  • How to Include macOS Library Bundle with QMake?

    Unsolved
    2
    0 Votes
    2 Posts
    242 Views
    SGaistS
    Hi, LIBS += -F/path/to/framework -fframework_name
  • QT installer, unable to fetch repo

    Unsolved
    3
    0 Votes
    3 Posts
    187 Views
    AsifBahrainwalaA
    alright, it seems to be working now.
  • Building apps on windows arm device

    Unsolved
    5
    0 Votes
    5 Posts
    570 Views
    C
    @jsulm Hello, Yes I did. See the dir qmake.exe /s which does a recursive dir for the qmake.exe in all the sub folders of the current folder. As you can see it did work as it did find the qmake.exe version in the mscv2019_64 directory and mingw_64, but nothing was found in the msvc2019_arm64 folder. I continued digging in the folder and I also notice that there is no windeployqt.exe in the arm64 folder. Cyrille
  • qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in ""

    Unsolved
    3
    0 Votes
    3 Posts
    6k Views
    L
    @hskoglund Thank you for clarifying that. Thanks to that i got on the right track. Assuming that libqxcb.so was missing because the option -qt-xcb was dropped was a mistake. I found this thread https://github.com/bincrafters/community/issues/1229 that showed me that i might miss a dependency. As proposed i have added the -xcb option when calling configure. It showed a few failing tests. I was not able to find a log for those tests but the config.log showed that "test config.qtbase_gui.libraries.xcb_util" was failing due to a missing xcb-utilh. While this was none of the tests i was looking for it made me check if all of the requirements mentioned at https://doc.qt.io/qt-5/linux-requirements.html are installed. None was missing, so i did some guesses. Since there none "dev" variants are on the requirement list i have installed: libxcb-render0-dev libxcb-util0-dev (due to similarity in name i assume that this fixed the missing xcb-util.h) and since a pthread test was failing i installed libpthread-stubs0-dev Now libqxcb.so is generated when building Qt. I conclude that the official requirements list for Qt 5 is missing at least one package. My problem is solved. This thread may be closed.
  • gmake errors: IN /src/opengl/qglbuffer.h for Qt5.5 open source on centos

    Unsolved
    13
    0 Votes
    13 Posts
    832 Views
    SGaistS
    Did you install the OpenGL development libraries ?
  • Qt 6.2.2: find_package fails although the Qt build seems to have succeeded

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    G
    @SGaist That did the trick. Thanks. Strange that this worked in Qt 6.0.1 though.
  • Makefile cannot find libQtCore while libQt5Core exist

    Solved
    4
    0 Votes
    4 Posts
    531 Views
    thomastT
    I fixed it, I had other CMakeFiles that were not updated and still had QtCore in the target_link_libraries.
  • Configure qt module with cmake fails

    Solved
    2
    0 Votes
    2 Posts
    442 Views
    raven-worxR
    @Quorn-Julio dont use cmake-gui. simple execute (in a build directory, can also be a new folder): <QTDIR>\bin\qt-configure-module <module-src-path> cmake --build . it already takes care of everything
  • Android install issues

    Unsolved
    2
    0 Votes
    2 Posts
    286 Views
    C
    Post Scriptum: I did download the NDK, but when I try to select the folder, I get the following error: There is indeed no RELEASE.TXT file in the directory, but there is a source.properties. The path is: C:\Users\cydeb\AppData\Local\Android\Sdk\ndk so it seems valid. There is a toolchains sub directory in this folder. [image: b77feb86-5e83-4ff8-afbf-ee2b69e8f009.png]
  • Using Qt everywhere with Qt Creator

    Solved
    6
    0 Votes
    6 Posts
    3k Views
    M
    @Christian-Ehrlicher The PC is connected to the internet, but due to network restrictions the online installer does not work
  • Online Installer with Azure Blob Storage Static Website

    Unsolved
    1
    0 Votes
    1 Posts
    190 Views
    No one has replied
  • The kit's build configuration is invalid - Android

    Unsolved android qml build error
    1
    0 Votes
    1 Posts
    462 Views
    No one has replied
  • 0 Votes
    2 Posts
    344 Views
    M
    I found my mistake: If I uncheck the checkbox "Run in terminal" in the Run Settings of the Kit, then its working again. [image: 05618755-4b6b-48c9-abc3-1d527db458be.png]
  • importing QtCharts in QML causes “module not installed error” and app crash

    Solved
    10
    0 Votes
    10 Posts
    6k Views
    D
    Hi all, In my case extra needed step is just delete the build folder(Debug/Release) and rebuild it again ... Hope it will help someone ;) thanks all!
  • New newer version of qtcreator

    Unsolved
    1
    0 Votes
    1 Posts
    140 Views
    No one has replied
  • 2 Votes
    5 Posts
    2k Views
    vikramgV
    This is still a problem in 2022 in building Qt 5.12.12 for Odroid with Mali support. Minor improvement to @Ignacio_Alvarez 's answer is that SONAME should include the major version, so --set-soname to libGLESv2.so.2.
  • Unknown module(s) in QT (Debian 11, Module packages already installed)

    Solved
    3
    0 Votes
    3 Posts
    831 Views
    A
    Yep. That solved the problem: $ sudo apt install qtmultimedia5-dev
  • snap mismatch on Qt Creator install

    Solved
    2
    0 Votes
    2 Posts
    284 Views
    1
    Solved by just select the only mingw component here [image: 2c67db8c-829d-4dd7-868f-3715190032c4.png] At least It's working for the session on cs106b [image: 647a205f-4b86-47ee-9997-bee69855bc0c.png]
  • qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""

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