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.7k Posts
QtWS25 Last Chance
  • Which version of Qt am I using? How do I find out?

    Pinned
    1
    18 Votes
    1 Posts
    23k Views
    No one has replied
  • Installation Crash

    Solved
    4
    0 Votes
    4 Posts
    117 Views
    A
    @SGaist hi I didn't open it with the Administrator user for Windows, and when I opened it with that user, I downloaded it successfully
  • Compiling QtWebengine without QtQuick dependancy.

    Unsolved
    20
    0 Votes
    20 Posts
    381 Views
    J
    Have a look at https://doc.qt.io/qt-5/qtwebengine-webenginewidgets-html2pdf-example.html it uses neither QDocument nor QPdfPrinter
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Qt 6 cmake lupdate update_translations hangs forever

    Unsolved
    7
    0 Votes
    7 Posts
    583 Views
    P
    @rey1996 Unfortunately, I am still struggling with the same issue. I've tried using QT_EXCLUDE_FROM_TRANSLATION to no avail. However, I stumbled on the following bug report: https://bugreports.qt.io/browse/QTBUG-126040 It seems we are not the only one :)
  • Qt WebEngine installation via Maintenance Tool freezes

    Unsolved
    7
    0 Votes
    7 Posts
    159 Views
    L
    @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
    2
    1 Votes
    2 Posts
    489 Views
    B
    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
  • Qt creator can not parse cmake version after update from Qt 6.5.3 to Qt 6.7.2

    Unsolved
    10
    0 Votes
    10 Posts
    2k Views
    R
    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
    4
    0 Votes
    4 Posts
    92 Views
    aha_1980A
    @Nguyen-Thang-Phong This page contains instructions for installing the dependencies. Regards
  • GitHub Actions CI best-known-methods to support Qt applications

    Unsolved
    6
    1 Votes
    6 Posts
    225 Views
    Paul ColbyP
    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.
  • qt_find_package marks package as not found but has found it?

    Unsolved
    2
    0 Votes
    2 Posts
    40 Views
    Paul ColbyP
    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.
  • Unable to move past login with Online Installer in Windows 11

    Unsolved installer
    2
    0 Votes
    2 Posts
    42 Views
    hskoglundH
    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
    6
    0 Votes
    6 Posts
    166 Views
    Christian EhrlicherC
    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
    2
    0 Votes
    2 Posts
    71 Views
    jsulmJ
    @Steve-ONeill Shouldn't you install Qt on the new laptop anyway? Or how are you "transferring"?
  • Ubuntu 24.04 and Qt6 and issues with building my first project

    Solved
    8
    0 Votes
    8 Posts
    285 Views
    SGaistS
    @Noobish If you want to be clean: target_link_libraries(fooserver Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Network)
  • Unresolved external symbol while building Installer Framework

    Unsolved
    4
    0 Votes
    4 Posts
    175 Views
    I
    @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
  • Issues with Using Qt6 and OpenGL in Docker on Ubuntu 24.04

    Unsolved
    1
    0 Votes
    1 Posts
    77 Views
    No one has replied
  • qDebug repeating output

    Unsolved
    10
    0 Votes
    10 Posts
    364 Views
    S
    @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
    7
    0 Votes
    7 Posts
    170 Views
    S
    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
    9
    0 Votes
    9 Posts
    196 Views
    B
    @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.