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
  • This topic is deleted!

    Unsolved 16 Apr 2025, 05:59
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Qt WebEngine installation via Maintenance Tool freezes

    Unsolved 8 Apr 2025, 15:41
    0 Votes
    7 Posts
    219 Views
    @SGaist It's resolved ! Finally ! Disabling my antivirus, firewall, and clearing the cache fixed the issue. Thanks for the help! Now I have other problems with WebEngine, haha. (Check this topic: https://forum.qt.io/topic/161756/issues-with-qwebengineview-and-chromium-integration-errors-and-crashes-in-debug-mode)
  • PySide6 pyside-setup build

    Unsolved 18 Oct 2021, 20:12
    1 Votes
    2 Posts
    507 Views
    Hello, do you still need help now? You seem to be using Windows. Maybe setting architecture environment will solve it? Search for vcvarsall.bat and use it to initialize environment, before running anything: path/to/vcvarsall.bat x64 You also need to do this when building qtbase (if you build it from source). Though you have not encountered it yet, make sure your installed clang's architecture matches too. Otherwise, you may encounter lots of strange linker errors like "unresolved symbol __imp_xxxxx". You can change x64 to some other architecture, but make sure the architecture is consistent. Similar answer
  • 0 Votes
    10 Posts
    2k Views
    I have the same issues about two days now, I had clean the registry, also all qt settings on other locations that isn't the drive c qt installation, uninstall qt, I did this many times and I also have a working qt install on another computer which I exchange the install qt folder and in my problem computer it won't work and the qt installation folder works on another computer, system oaths is the same, so I came down to operating system issues, I use dependency walker to see what uic.exe requires and in my computer about 4 ot 5 dll it calls and the other computer It call a number of windows kit dll, installing the kit disnt help, I am currently running windows repairs well I will update you guys of my findings
  • How to build the xcb ?

    Unsolved 10 Apr 2025, 04:25
    0 Votes
    4 Posts
    126 Views
    @Nguyen-Thang-Phong This page contains instructions for installing the dependencies. Regards
  • 1 Votes
    6 Posts
    318 Views
    Hi @SlySven, perhaps the issue has been resolved already? I just did a complete run of 146 builds, and they all passed correctly. You can see the builds here. That said, on Ubuntu (only) I don't rely on install-qt-action to install Python, so perhaps that gets around the issue you mentioned? eg, I do this for Ubuntu runners (not macOs nor Windows): - uses: actions/setup-python@v5 with: python-version: '>=3.9' - uses: jurplel/install-qt-action@v4 with: ... setup-python: false Cheers.
  • 0 Votes
    2 Posts
    53 Views
    Hi @qtSucks, So why does it say it has found the package, then state wayland_found is set to false? It doesn't say it has found the package, it says it has found the Find Module. They way CMake find_package works is like so: when you request a package, CMake looks for a Find Module. once found, CMake executes the Find Module to locate the actual package. the Find Module sets variables (eg Wayland_FOUND) to indicate if Find Module found the package you're looking for (and where the libs are, etc). So here: find_package considered the following paths for FindWayland.cmake: ... The file was found at ... CMake is telling that the it found a Find Module at that location. CMake then should have evaluated the module, and that module reported that it can't find one or more of the libs you requested (ie set Wayland_FOUND to false). It might help if you show the output that came after your snippet above. Cheers.
  • 0 Votes
    2 Posts
    53 Views
    Hi, just a guess but try to reset the Scale to 100% (in Settings, System, Display)
  • Which Qt version is required for Win10/Win7

    Unsolved 8 Apr 2025, 07:41
    0 Votes
    6 Posts
    211 Views
    I would guess Qt6.x compiles fine with 32bits but it's not tested in the CI so officially unsupported.
  • Moving license to new system

    Unsolved 7 Apr 2025, 20:26
    0 Votes
    2 Posts
    100 Views
    @Steve-ONeill Shouldn't you install Qt on the new laptop anyway? Or how are you "transferring"?
  • 0 Votes
    8 Posts
    389 Views
    @Noobish If you want to be clean: target_link_libraries(fooserver Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Network)
  • 0 Votes
    4 Posts
    223 Views
    @Nguyen-Thang-Phong make sure to call perl init-repository in QT main repo. Make sure everywhere are similar branches. for QT i build like this in D:\qt\qt_test_s\qt5\qt5-build i create script and run it for STATIC QT (to make dynamic build you need to remove flag -static from configure call. call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.17763.0 SET _ROOT=D:\qt\qt_test\qt5\ SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH% SET PATH=%_ROOT%\qtrepotools\bin;%PATH% SET _ROOT= call ..\configure -prefix %CD%\qtbase -static -opensource -confirm-license -platform win32-msvc2017 -release ^ -nomake examples -nomake tests -skip qtwebengine -no-openssl -opengl desktop && -developer-build ^ call nmake module-qtbase module-qtdeclarative module-qttools module-qttranslations module-qtwinextras && ^ call nmake install After build is successful I create new script in D:\qt\qt_test_s\installer-framework to build installer framework Make sure installer framework is in correct branch also. You can take a look in installer-framework\INSTALL minimal required version of QT to build IF call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86 10.0.17763.0 SET QTDIR=D:\qt\qt_test_s\qt5\qt5-build\qtbase SET QTDIR_LIB=%QTDIR%\lib SET PATH=%QTDIR%\bin;%QTDIR%\..\..\gnuwin32\bin;%QTDIR_LIB%;D:\qt\qt_test_s\installer-framework\lib;%PATH% call qmake.exe && ^ call nmake && ^ call nmake install
  • 0 Votes
    1 Posts
    131 Views
    No one has replied
  • qDebug repeating output

    Unsolved 3 Apr 2025, 17:13
    0 Votes
    10 Posts
    424 Views
    @JonB Xcode is the macOS IDE offering for development for ANY Apple OS. I have been using it, on and off, since 2006 without too much in the way of problems but Xcode has changed a lot since I last used it in 2021 hence my rustiness. :-)
  • License for QT Open Source

    Unsolved 3 Apr 2025, 05:53
    0 Votes
    7 Posts
    206 Views
    The code of the installer framework is under the GPLv3. Any changes you do to the installer framework also need to be under the same license. However, any apps that are put into the installer can have any license. The GPL does not apply to the apps.
  • configure the build: -Wno-dev: what to do with it?

    Unsolved 2 Apr 2025, 16:21
    0 Votes
    9 Posts
    263 Views
    @Christian-Ehrlicher Well, I tried the obvious, i.e. adding the option -Wno-dev to the two lines with 'cmake' in the configure script. That didn't work. Hopefully, somebody who understands Qt's cmake-building can do it.
  • Installation issues

    Unsolved 2 Apr 2025, 11:31
    0 Votes
    2 Posts
    106 Views
    @Muhammad-Zeeshan Try another mirror like shown here: https://wiki.qt.io/Online_Installer_4.x
  • This topic is deleted!

    Unsolved 2 Apr 2025, 21:17
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • How to using GIF image for QT ?

    Unsolved 31 Mar 2025, 08:01
    0 Votes
    23 Posts
    2k Views
    @Christian-Ehrlicher @JonB @JoeCFD I have tried the solution, but not GIF image format to work.
  • 0 Votes
    3 Posts
    126 Views
    It's the windows path limiting to 260 characters.