跳到內容

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 主題 51.1k 貼文
  • Qt Online Installer for Windows Connection Error

    Solved
    4
    0 評價
    4 貼文
    1k 瀏覽
    M
    Very nice to know!
  • Two cursors when app is running on BeagleBone Black

    Unsolved
    1
    0 評價
    1 貼文
    331 瀏覽
    尚無回覆
  • no libxcb.so qt plugin in /platforms directory

    Unsolved
    3
    0 評價
    3 貼文
    1k 瀏覽
    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 評價
    2 貼文
    1k 瀏覽
    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 評價
    4 貼文
    2k 瀏覽
    sierdzioS
    Great :-) Happy coding!
  • Qt online installer in non-interactive mode?

    2
    0 評價
    2 貼文
    1k 瀏覽
    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 評價
    4 貼文
    4k 瀏覽
    Z
    Please try to go through these steps : Chapter 7 and this Chapter 11
  • Qt Installer framework hide or disable buttons

    Unsolved
    1
    0 評價
    1 貼文
    833 瀏覽
    尚無回覆
  • ImportError library not loaded - "Reason: image not found"

    Unsolved library library not loa
    5
    0 評價
    5 貼文
    8k 瀏覽
    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 評價
    2 貼文
    488 瀏覽
    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 評價
    1 貼文
    846 瀏覽
    尚無回覆
  • Exclude Frameworks with macdeployqt

    Solved macdeployqt framework deployment installation
    2
    0 評價
    2 貼文
    1k 瀏覽
    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 評價
    16 貼文
    4k 瀏覽
    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 評價
    2 貼文
    548 瀏覽
    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 評價
    1 貼文
    871 瀏覽
    尚無回覆
  • Qt static x64 build fail

    Unsolved
    1
    0 評價
    1 貼文
    576 瀏覽
    尚無回覆
  • Broken Qt 5.5 macdeployqt?

    Solved qt5.5 c++ osx cocoa macdeployqt
    6
    0 評價
    6 貼文
    4k 瀏覽
    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 評價
    1 貼文
    393 瀏覽
    尚無回覆
  • 0 評價
    11 貼文
    9k 瀏覽
    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 評價
    17 貼文
    15k 瀏覽
    G
    Thank you. It worked!!!