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
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
  • 0 Votes
    3 Posts
    15 Views
    SGaistS
    Hi, You can start your application with the QT_DEBUG_PLUGINS environment variable set to 1 to get more information about what is happening. That said, why does your static Qt build try to load your system installed plugins ?
  • Errors while running macdeployqt

    Unsolved
    1
    0 Votes
    1 Posts
    15 Views
    No one has replied
  • 0 Votes
    1 Posts
    16 Views
    No one has replied
  • question abort building qt6.8.3 on visual studio 2022

    Unsolved
    2
    0 Votes
    2 Posts
    28 Views
    hskoglundH
    Hi, probably fails because some the paths are longer than 260 characters, try changing the build directory to something shorter than D:\Workspace\UAV\QGC\qgc_dev-windows\qt-everywhere-src-6.8.3
  • Qt 6 cmake lupdate update_translations hangs forever

    Solved
    8
    0 Votes
    8 Posts
    623 Views
    P
    It seems the issue is resolved in : Fix Version/s: 6.5.7, 6.7.3, 6.8.0 Beta3, 6.9.0 FF
  • Crosscompile QT6 for pi4 in full screen (eglfs)

    Unsolved
    2
    0 Votes
    2 Posts
    34 Views
    jsulmJ
    @ben80 said in Crosscompile QT6 for pi4 in full screen (eglfs): How could i go on? Check the config.log file to see why it was not configured properly. Or run configure script with -v parameter.
  • Qt Online Installer for Windows does not install Qt and QtCreator

    Unsolved
    14
    0 Votes
    14 Posts
    811 Views
    SGaistS
    @Steve-Purple Hi, That is pretty strange. Are you installing Qt open source ?
  • Mac Command line

    Unsolved
    4
    0 Votes
    4 Posts
    58 Views
    SGaistS
    Yes, you have one single project that has multiple subprojects one of which is your main application that is in a bundle and the other which is the command line tool which you would like to build "unbundled" so you can then copy it into the main application's bundle. For your cli application, there's this example in the Qt Documentation. However, the part for integrating that binary into your bundle I don't currently know. You might be able to use a custom command that does that for you or maybe cmake already provides something.
  • 0 Votes
    16 Posts
    295 Views
    SGaistS
    Glad you found a solution and thanks for sharing ! :-)
  • Resource file read twice by MSBuild

    Unsolved
    4
    0 Votes
    4 Posts
    50 Views
    Christian EhrlicherC
    @KeithS said in Resource file read twice by MSBuild: this is a Visual Studio project And how did you create this project? Manually? Please use a CMakeLists.txt.
  • macOS using Homebrew 'c++' compiler

    Solved
    5
    0 Votes
    5 Posts
    960 Views
    A
    If you want to use a newer version of clang than Apples version then it is really very simple. For example you might do this to have access to OpenMP. Just install llvm with homebrew, then set your cmake CXX and C compiler to point to the homebrew version.
  • Slow download speed

    Moved Unsolved
    30
    1 Votes
    30 Posts
    17k Views
    jsulmJ
    @Bhagwate Try another mirror, see https://wiki.qt.io/Online_Installer_4.x
  • Building docs failed

    Unsolved
    5
    0 Votes
    5 Posts
    57 Views
    K
    That could be it... I'll make a change in the build script
  • Build 32 bit Qt 6.9.0 error

    Unsolved
    9
    0 Votes
    9 Posts
    116 Views
    K
    Thanks Christian, 32 bit build all working now. I skip webengine, webview, location as I don't need those.
  • Specifiying CN of Apple Signing Cert when using CMake

    Unsolved
    1
    0 Votes
    1 Posts
    24 Views
    No one has replied
  • 2 Votes
    4 Posts
    385 Views
    M
    Sorry to bump this thread so much later, but did you ever find a solution? I'm running into the same problem.
  • Qt installation completed, but compilation error occurred.

    Unsolved
    2
    0 Votes
    2 Posts
    66 Views
    jsulmJ
    @Undecided_SetOff said in Qt installation completed, but compilation error occurred.: x86-windows-msys-pe-64bit You should use MinGW as compiler provided by the Qt installer.
  • MacOS macdeployqt Running from deployment folder gets SIGABRT

    Unsolved
    3
    0 Votes
    3 Posts
    78 Views
    PerdrixP
    @SGaist Looks that way: amonra@Saturn Frameworks % ls -lR QtCharts.framework total 0 lrwxr-xr-x@ 1 amonra staff 25 21 Apr 14:41 QtCharts -> Versions/Current/QtCharts lrwxr-xr-x@ 1 amonra staff 26 21 Apr 14:41 Resources -> Versions/Current/Resources drwxr-xr-x@ 4 amonra staff 128 22 Apr 02:27 Versions QtCharts.framework/Versions: total 0 drwxr-xr-x@ 5 amonra staff 160 22 Apr 02:27 A lrwxr-xr-x@ 1 amonra staff 1 21 Apr 14:41 Current -> A QtCharts.framework/Versions/A: total 7112 drwxr-xr-x@ 3 amonra staff 96 22 Apr 02:27 _CodeSignature -rwxr-xr-x@ 1 amonra staff 3640928 22 Apr 02:27 QtCharts drwxr-xr-x@ 4 amonra staff 128 22 Apr 02:27 Resources QtCharts.framework/Versions/A/_CodeSignature: total 8 -rw-r--r--@ 1 amonra staff 2690 22 Apr 02:27 CodeResources QtCharts.framework/Versions/A/Resources: total 16 -rw-r--r--@ 1 amonra staff 768 24 Jan 13:36 Info.plist -rw-r--r--@ 1 amonra staff 343 24 Jan 13:36 PrivacyInfo.xcprivacy amonra@Saturn Frameworks % I think this an RPATH problem - need to look into it some more. Hmmm otool says: cmd LC_RPATH cmdsize 48 path @executable_path/../Frameworks (offset 12) which looks as if it ought to be correct ... I think that is confirmed by the error message in the crash report: DeepSkyStackerLive.app/Contents/Frameworks/QtCharts.framework/Versions/A/QtCharts' (code signature in <AEB8F7ED-47A4-3211-A7BF-768FFEA62C51> '/Users/amonra/.vs/DSS/Darwin/arm64/Debug/DeepSkyStackerLive.app/Contents/Frameworks/QtCharts.framework/Versions/A/QtCharts' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), Why is macdeployqt re-signing all the libraries in the Frameworks directory of the .app (like the Qt libraries) they already have a valid signature don't they?
  • Installing Qt on RasspeyPi?

    Unsolved
    19
    0 Votes
    19 Posts
    272 Views
    MucipM
    Hi, As mentioned here below lines are solved my problem without adding environment variable. sudo apt install libxcb-xinerama0 sudo apt install qt6-wayland sudo apt install libxcb-xinerama0-dev sudo apt install qt6-wayland-dev Regards, Mucip:)