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
  • Qt Online Installer for Windows Connection Error

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    M
    Very nice to know!
  • Two cursors when app is running on BeagleBone Black

    Unsolved
    1
    0 Votes
    1 Posts
    331 Views
    No one has replied
  • no libxcb.so qt plugin in /platforms directory

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    L
    @Zola Hi, The libqxcb.so file that reside inside platforms folder (in your application package, and I'm assuming you are dynamically linking with qt ) needs additional dependencies. You can find all dependencies by calling ldd for libqxcb.so, but we need to copy files reside only in Qt directory. Find it in Qt libs directory ( in my case it was libQt5DBus.so.5). Change name (*.so.5.4.1 to *.so.5) and copy it to executable directory.
  • Messed Up Layout in Deployed Qt Application on Windows 10

    Solved layout deployment windows 10
    2
    0 Votes
    2 Posts
    1k Views
    A
    @AKstatistics Solved my own problem. Cross posted on Stack Overflow http://stackoverflow.com/q/34056095/4179820
  • Missing xcb plugin in ubuntu 15.04

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    sierdzioS
    Great :-) Happy coding!
  • Qt online installer in non-interactive mode?

    2
    0 Votes
    2 Posts
    1k Views
    N
    @dvb0222 I had a similar need for installing Qt using a Dockerfile script. Check out my solution here: http://stackoverflow.com/a/34032216/471839
  • Cross-compile Qt5 to Beaglebone

    Unsolved qt 5 beagleboard linux cross-compile cross compile
    4
    0 Votes
    4 Posts
    4k Views
    Z
    Please try to go through these steps : Chapter 7 and this Chapter 11
  • Qt Installer framework hide or disable buttons

    Unsolved
    1
    0 Votes
    1 Posts
    833 Views
    No one has replied
  • ImportError library not loaded - "Reason: image not found"

    Unsolved library library not loa
    5
    0 Votes
    5 Posts
    8k Views
    M
    I'll suggest that you print some environment variables to check if the paths for the shared libraries are OK. So, from the environment you are trying to execute your python script, try to print PATH, PYTHONPATH and DYLD_LIBRARY_PATH Even better, you can try to print this from your python script with something like this import os print os.environ['PATH'] print os.environ['DYLD_LIBRARY_PATH'] print os.environ['PYTHONPATH'] The check if the missing path is listed somewhere
  • Including and excluding qt addons

    Unsolved
    2
    0 Votes
    2 Posts
    488 Views
    SGaistS
    Hi, Which module do you to build or not ? Also what sources are you using ? The one from git or the one provided by the installer ?
  • 0 Votes
    1 Posts
    846 Views
    No one has replied
  • Exclude Frameworks with macdeployqt

    Solved macdeployqt framework deployment installation
    2
    0 Votes
    2 Posts
    1k Views
    M
    I found the answer. The problem is that the QtWebKit.framework bundle requires some of these other ones, even though I might not be using them. The only fix would be to acquire the QtWebKit.framework project, remove the QML and Quick dependencies, recompile, swap that framework bundle out of my project after macdeployqt, and then remove the QML and Quick framework bundles. Long story short, that ain't happening. Not worth my time because it's super difficult.
  • cannot find -lQtOpenGL and -lGL

    Unsolved
    16
    0 Votes
    16 Posts
    4k Views
    SGaistS
    You should take a look at this thread. The poster has provided links to an interesting Wiki to build everything you need before building Qt.
  • Including or excluding Qt packages (QT5)

    Unsolved
    2
    0 Votes
    2 Posts
    548 Views
    L
    Like this: ./configure -skip sensors -skip location -skip multimedia ... By default, it compiles everything.
  • Warning message when making static build

    Unsolved static warning
    1
    0 Votes
    1 Posts
    871 Views
    No one has replied
  • Qt static x64 build fail

    Unsolved
    1
    0 Votes
    1 Posts
    576 Views
    No one has replied
  • Broken Qt 5.5 macdeployqt?

    Solved qt5.5 c++ osx cocoa macdeployqt
    6
    0 Votes
    6 Posts
    4k Views
    hskoglundH
    Yes, Qt is kind of braindead :-) before QApplication a(argc, argv); not many things work; it tries to load the libqcocoa.dylib when you specify that Fusion setting line, and because you did it before the QApplication constructor, Qt hasn't found and read in qt.conf file (written by macdeployqt, it tells Qt where to find libqcocoa.dylib). That's why moving the Fusion setting after makes Qt much happier. P.S. Actually you can get around this error in another way than by moving the Fusion setting line: by copying the PlugIns folder (created by macdeployqt in example.app) and place it together with the .exe/ELF file (MacOs/example). Because then Qt can load the Cocoa plugin without having read any qt.conf file.
  • Skip specific libs on build

    Unsolved skip library skip module
    1
    0 Votes
    1 Posts
    393 Views
    No one has replied
  • 0 Votes
    11 Posts
    9k Views
    M
    @d.terhaar Thanks! This fixed me on this post: https://forum.qt.io/topic/61001/broken-qt-5-5-macdeployqt/3 I moved my Fusion style line AFTER the QApplication a(argc, argv); line, unlike previous documentation I had read for this, and the problem went away. I was now able to deploy without Cocoa issues. I had been racking my brains for 3 hours on this. I'm so glad you did the difficult digging to find the fix.
  • How to build Qt 5.4 statically on Window 7. Compression exe by upx

    17
    0 Votes
    17 Posts
    15k Views
    G
    Thank you. It worked!!!