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
  • ...more you use QT, more you forget the basic....

    Moved Solved
    4
    0 Votes
    4 Posts
    328 Views
    A
    SOLVED? A test application is now complaining about lack of "CLANG" . After loading gcc essentials - still complains about "clang" . The remedy " did you forget setting the environment ?" What "environment "? Where ??
  • Installation fails

    Moved Solved
    6
    0 Votes
    6 Posts
    587 Views
    Chris KawaC
    @qtFanatic said: It would make sense that the installer gives an error message instead of failing unexpectedly. Agreed, but hey, can't win them all ;)
  • Qt installer on wayland?

    Solved
    2
    0 Votes
    2 Posts
    348 Views
    SGaistS
    Hi and welcome to devnet, I don't know whether you have the Wayland backend as well for the installer, one thing you can do is try to pass --platform wayland as parameter to the installer executable. As for the rest, no, you shall be able to use and develop on Wayland without issue. It's one of the supported backend. If it does not pick it up automatically, you can force its use.
  • MaintenanceTool.exe Error

    Unsolved
    3
    0 Votes
    3 Posts
    389 Views
    cemaldemir07C
    @artwaw update or adding new component complete successfully when AV disabled
  • Can not set android clang compilers for Qt Android on Ubuntu

    Solved
    4
    0 Votes
    4 Posts
    447 Views
    advmA
    Found the problem. It looks like the ndk that I have installed was missing some files. After downloading it again the compilers are auto-detected and everything works fine. Thanks @J-Hilk
  • Can't build a release version for a custom QGC, jom Error 1 & 2

    Unsolved
    3
    0 Votes
    3 Posts
    416 Views
    D
    Yes it does, that's the weird thing.
  • unresolved external symbol "class std::basic _string...

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    J.HilkJ
    @Zeyad-Khaled when you do, what @Christian-Ehrlicher said, you will find the following [image: 414890ad-58e1-43f0-84af-4cdb122def64.png] seems like your xml_check_close_outer std::stack is empty and you try to access the non existent top() element, what then crashes. At least, when your code, that you posted is a 1:1 copy and paste :D
  • I can't open qtcreator in ubuntu

    Solved
    28
    0 Votes
    28 Posts
    18k Views
    S
    @Leon-Abascal thank you Leon, now works
  • CLI installer always installs default components

    Solved qtifw
    2
    0 Votes
    2 Posts
    373 Views
    P
    @Peter-Smithson Oh - I found another page - https://doc.qt.io/qtinstallerframework/ifw-cli.html (well actually - I did --help, found an option and then googled it to find the page!) The use-cases page isn't very clear. If you only want the components listed to install (with dependencies), you must add the --no-default-installations option.
  • QML License

    Unsolved
    6
    0 Votes
    6 Posts
    739 Views
    sierdzioS
    Here's a summary: https://tldrlegal.com/license/gnu-lesser-general-public-license-v3-(lgpl-3)
  • Can't use Designer in QT Creator 6

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    W
    Thanks a lot.
  • Offline Installer of Qt Creator 5

    Solved
    3
    0 Votes
    3 Posts
    331 Views
    F
    Thanks, I had found only the archive (https://download.qt.io/archive/) which reports only older versions!
  • qt.network.ssl: No functional TLS backend was found ?

    Unsolved
    29
    0 Votes
    29 Posts
    7k Views
    B
    Well, if it is impossible to use dll for gui, then I will have to write c++ exe and provide interaction with python...
  • Expand the component tree, the maintenance tool immediately crashes

    Solved
    9
    0 Votes
    9 Posts
    801 Views
    J
    Completely uninstall QT and reinstall it, everything is fine
  • Failed to deploy Qt application using windeployqt

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    P
    Hi again, I have managed to run the qt application now, after following the guides using a brute force method, quick and dirty way, by copying all the qml and dlls files/dir from my qt installation directory to the deployment dir. https://wiki.qt.io/Deploy_an_Application_on_Windows But i still don't know why windeployqt doesn't work as it should., so this looks like a problem of the windeployqt tool which failed to copy the necessary files/dirs to the deployment directory. And i don't think it is fun to do the clean up after as mentioned in the guides after putting everything there, as that is what windeployqt should be meant for. @raven-worx said in Failed to deploy Qt application using windeployqt: @pfnus said in Failed to deploy Qt application using windeployqt: except additional errors qrc:/main.qml:124:6: Type PermanentPanels unavailable qrc:/panels/MyPanels.qml:13:5: Type MyControls unavailable qrc:/panels/MyControls.qml:20:1: Type SidePanel unavailable actually you should have this errors already before. I dont see why you shouldnt. I have a lot of qml files inside different sub-directories, and i point --qmldir to thje top level qml dir, is that an issue? Thats ok. windeployqt scans the folder recursively for all import statements. When you now have files in the filesystem without having them in a qml module (with a qmldir file) they wont be picked up. Easiest would be to put them alos into the qrc. The errors like Cannot install type 'HorizontalHeaderView' into protected module 'QtQuick.Controls' version '2' are a mystery to me. How do you get the error messages actually? You ran windeploy and then simply start the binary? Where do you see the error messages then? I run the exe from cmd line like this; where D:\myapp\test-windeployqt contains all the deployed qt files/dirs: D:\myapp\test-windeployqt\myapp.exe
  • Native QFileDialog for static build on Linux

    Solved
    5
    0 Votes
    5 Posts
    370 Views
    A
    Actually, I'm ok with it. It's to time consuming to retry
  • qtcreator 0xc0000005

    Solved
    3
    0 Votes
    3 Posts
    849 Views
    JonBJ
    @net80u As @jsulm says. Indeed a while ago at https://www.qt.io/blog/qt6-development-hosts-and-targets Both Windows 7 or 8.x version support will not be available for Qt 6. Microsoft discontinued the support for both Windows versions some time ago, and as a vendor, we can no longer maintain support for these windows versions in Qt 6.
  • Why i got error in building qt 3d studio?

    Solved
    34
    0 Votes
    34 Posts
    4k Views
    E
    Tanks @SGaist
  • 0 Votes
    4 Posts
    2k Views
    W
    I just came across this issue. The anwser is in the qtbase/configure, you can see the error messge in this file. Delete the parent derecotory of the build can solve this issue.
  • Making a standalone Qt application on Windows

    Unsolved
    23
    0 Votes
    23 Posts
    4k Views
    S
    Hi, so I've found another thing. I open up dependencies to look for the dll files that need to be added, and the only ones are not the "critical" Qt files. I only need to add 3, but that still doesn't make it standalone. Do I need to type in something else when I'm configuring the installation? [image: 4210712b-6fd6-4cd5-9235-c059ac736bc7.png]