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.8k Topics 51.2k Posts
  • Changing qmake -query variables

    9
    0 Votes
    9 Posts
    4k Views
    T
    I have the same issue, qmake -set QT_SYSROOT heh inserts a row to the beginning of qmake -query list, but original QT_SYSROOT follows my config. qmake -query QT_SYSROOT returns with the original path and message(Sysroot dir $$[QT_SYSROOT]) prints out the original one too. See my topic for details: https://forum.qt.io/topic/125004/cross-compile-to-rpi-without-re-compile-qt-from-source Unfortunately other property sets have no real effect too.
  • How can we set the setup executable details / properties using QtIFW

    Unsolved
    1
    1 Votes
    1 Posts
    173 Views
    No one has replied
  • Why does windeployqt copy *all* qml files for all themes

    Unsolved
    2
    0 Votes
    2 Posts
    708 Views
    JKSHJ
    @LordKalma said in Why does windeployqt copy *all* qml files for all themes: And it copied lots of stuff, including all the qml files for all the themes (full log at the end). Is this normal? Why does it happen? windeployqt errs on the side of caution. It wants to make sure that your app can be run on another PC. As a result, it copies more than necessary. I guess it's possible for the Qt engineers to improve it and make it smarter -- to scan your code to figure out what your app actually needs -- but that's a bit hard to do and nobody has done it yet. You can try the technique described at the end of https://wiki.qt.io/Deploy_an_Application_on_Windows ("Final deployment (Cleaned up)") to get rid of unneeded files.
  • Windows SDK path

    Unsolved
    1
    0 Votes
    1 Posts
    315 Views
    No one has replied
  • Packaging a desktop application

    Unsolved
    2
    0 Votes
    2 Posts
    435 Views
    sierdzioS
    Here you go: mwizardtemplate. Uses CMake (and qmake, both are supported), CPack, has deployment for macOS, Windows, Linux, Android. iOS is there too, but not tested. Platform-specific stuff is in "platforms" directory.
  • 0 Votes
    6 Posts
    2k Views
    SGaistS
    Ok, I misunderstood your issue. There's no need to link OpenSSL to your application since you do not use it. It's a dependency of QtNetwork but it won't bleed up to your application. As for the linking part, I was thinking about version 3 with -l in front of each library path.
  • Qt Open Source Version License

    Unsolved
    12
    0 Votes
    12 Posts
    1k Views
    SGaistS
    Then check the documentation of the modules you are interested in, the license will be explained there as well.
  • QT opensource install error

    Solved
    2
    0 Votes
    2 Posts
    232 Views
    No one has replied
  • Qt Installer Framework

    Unsolved
    1
    0 Votes
    1 Posts
    220 Views
    No one has replied
  • IFW 4 installer.gainAdminRights()

    Unsolved
    1
    0 Votes
    1 Posts
    252 Views
    No one has replied
  • IFW 4 signal for wizard NextButton

    Solved
    2
    0 Votes
    2 Posts
    252 Views
    J
    Went about this a different way. Using the toggle signal of the radio buttons.
  • Set QT_SYSROOT property

    Unsolved
    1
    0 Votes
    1 Posts
    740 Views
    No one has replied
  • QT5 produces half/incomplete macOS package

    Unsolved
    10
    0 Votes
    10 Posts
    985 Views
    artwawA
    @why-it-dont-work Does it run ok when you run it from Qt Creator?
  • Create deb with all dependencies

    Unsolved
    2
    0 Votes
    2 Posts
    265 Views
    sierdzioS
    If you are using CMake, use CPack to generate a .deb with all dependencies. You can deploy the application to AppImage (see linuxdeployqt and other similar projects). Statically compile the application This is an option, but you need to statically compile Qt as well.
  • Qt 5.15.3

    Unsolved
    2
    0 Votes
    2 Posts
    238 Views
    Christian EhrlicherC
    In one year from the release date.
  • Can't use Android with Qt 5.15 because SDK Manager not works

    Solved
    3
    1 Votes
    3 Posts
    940 Views
    PowerNowP
    That's crazy, today after this message window was open for 10 minutes a new message window opened and told me something about that my Android SDK license is not correct. After pressing a few times of YES everthing is ok now.
  • QT5 build: CC: No such file or directory

    Unsolved
    69
    0 Votes
    69 Posts
    17k Views
    M
    OK, I believe I have now successfully installed Qt5 in Solaris 11.4 SPARC. Referring to the above failed gmake install, there were three different things going on. /lib/libQt5Bootstrap.a not found. So I did ln -s /opt/qt5/qt5-build/qtbase/lib/libQt5Bootstrap.a /lib/libQt5Bootstrap.a /usr/bin/pod2man was a symbolic link pointing to itself (that's weird). So in /usr/bin I said rm pod2man ln -s /usr/perl5/5.26/bin/pod2man pod2man All the "cycles found" errors (not shown above) were because gmake install was using /usr/bin/install instead of /opt/csw/bin/install. So I said cd /opt/csw/bin ln -s ginstall install After those changes, # /opt/qt5/qt5-build/gmake install worked fine.
  • 0 Votes
    2 Posts
    1k Views
    M
    I ran into this problem trying to compile ffmpeg with a QT dependancy.... to get past the not found I had to have a path to windows kit that held the fxc.exe file in my case C:\Program Files (x86)\Windows Kits\8.1\bin\x64. the cause seems to be in my case ? \qtdeclarative-git\plugins\scenegraph\d3....the make file has 26 shader header files it is trying to create with fxc.exe . Adding the path gets rid of the file not found BUT it does not get rid of the compile error the command in the make file does not execute correctly at this point it gives a too many files error . (I am still working on that part of it before I bug report it . This is assuming I am using the right fxc.exe and it can be run correctly from inside the build environment in my case mingwin. So if you have any feedback on how you got this working (IF) it would be appreciated here as well . I suspect that the make file has a TAB before the command that is causing the problem because if i cut and paste the commands with the tab i get errors but if i remove the tab it runs fine .
  • QT.5.11.2

    Unsolved
    2
    0 Votes
    2 Posts
    231 Views
    SGaistS
    Hi and welcome to devnet, Check the archive here.
  • Deploy Qt application that requires Python3

    Solved
    2
    0 Votes
    2 Posts
    266 Views
    SGaistS
    Hi, Pyinstaller might be an option.