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
  • Unable to detect the platform from environment

    Locked Unsolved
    2
    0 Votes
    2 Posts
    614 Views
    jsulmJ
    Duplicate of https://forum.qt.io/topic/71065/unable-to-detect-the-platform-from-environment [It's now locked as such ~kshegunov]
  • Cleaning for succesive builds on OSX does not help.

    Unsolved
    3
    0 Votes
    3 Posts
    757 Views
    C
    @jsulm Generally the code as is compiles fine on Qt 4.8, but for dock icon functionality using Qt 5 needs a slight amount of modification. In my recent issue, 6 files need to be modified, and 2 files need to be added. 1 of those files is the .pro with the extra two files needing to be added. Generally I just drag over copies of 4 of the files to be modified plus the two new ones. Then modify the .pro adding those two new ones. Then build and it will give an error, so I will then use the error output to take me to the final file to amend then finish compiling succesfully. However, sometimes it never hits the error and finishes compiling with a lack of dock icon functionality. I then assume either the makefile is bypassing it somehow, or the file is already built through the first compile run, What I mean about successive attempts is that using clean, or by deleting the obvious Qt created files, still end with a completed compile that never spits out the error and lacks functionality.
  • Add new QML Modules like QtCharts on 5.5

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    There's no problem at all. Just download a git client for Windows and start hacking.
  • OS X 10.11.4 Dynamic Library Dependency Problem

    Solved
    20
    0 Votes
    20 Posts
    6k Views
    jonawebbJ
    I've had similar problems with dynamic libraries in 10.11.4. The problems go away if I turn off System Integrity Protection. These don't show up for every executable. It depends on where the executable is installed. My executable is a Safari extension, which has to be installed in /Library/Internet Plug-ins. Apparently, that (or running in Safari) makes the executable "protected." I ran into two kinds of problems: The executable used @rpath to load components of the Framework libraries (inserted into the package by macdeployqt). This doesn't appear to work with System Integrity Protection. @loader_path does work, as do absolute paths. (You can change the paths using install_name_tool). Qt loads plugins using dlopen. This doesn't appear to work at all with System Integrity Protection. As a result, the code fails in QtGuiApplication::createPlatformIntegration, which is where it tries to load the platform plugin. I haven't found a workaround for the second problem. As a result it appears that Qt won't work for "protected" executables under OS X El Capitan.
  • 'QtGui/QMainWindow' file not found

    10
    0 Votes
    10 Posts
    23k Views
    SGaistS
    You are using a .pro file so it doesn't apply. How did you install Qt ?
  • Configuring Qt Debugger for Visual Studio Community 2013

    Unsolved
    3
    0 Votes
    3 Posts
    849 Views
    Z
    I installed the windows SDK 10 since I read on another thread that I could use the debugger from that kit. But it didn't work. I even set up the Qt where shows the debugger, but still doesn't work. And to answer your question, no, I didn't install that one
  • Qt Creator 3.0 Welcome Mode not working in VirtualBox VM

    15
    0 Votes
    15 Posts
    23k Views
    A
    @astodolski This thread saved my day : disabling VirtualBox 3D acceleration made Qt 5.7 OpenGL error disappear. Host : iMac OS-X 10.11, Virtualbox 5.1.4. Qt Guest : Ubuntu 14.04.
  • Qmake or make fails to missing libraries (possibly wrong path)

    Solved
    6
    0 Votes
    6 Posts
    7k Views
    kshegunovK
    @Fred-Barclay said in Qmake or make fails to missing libraries (possibly wrong path): So for future reference, I need to use the correct path to qmake (setting up a kit manually will do that) and install libqt5opengl5-dev. Actually, you don't need libqt5opengl5-dev but libgl1-mesa-dev. However, the former depends on the latter and will pull it from the repository. Thank you! You're welcome.
  • Qt application failed to run in a Pc without QT (windeployqt used)

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    Diego DonateD
    @raven-worx I have found my problem. In my PATH variable I had references to QT 5.5, not to QT 5.7. I have updated that and fixed! Thanks a lot for your help!
  • Installing the full qt 4.8.6 sdk

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    JKSHJ
    If you wish to use Qt 4.8.6, you can find it at http://download.qt.io/official_releases/qt/4.8/4.8.6/ But once again, Qt 4.8.7 is backwards compatible with Qt 4.8.6
  • Error Build Cross Compile Qt for Raspberry Pi V2 Model B on Ubuntu 14.04 LTS Desktop

    Unsolved
    2
    0 Votes
    2 Posts
    981 Views
    C
    Hi John Did you find the problem? I think I might be stuck on something similar. THanks
  • Error while building Qt 5.7 on Windows

    Unsolved
    17
    0 Votes
    17 Posts
    6k Views
    A
    @SGaist ok that makes sense, thanks! I'm going to give cross compiling on Windows a couple more tries, I want to see if it's possible mostly because there seems to be a bit of a lack of information around it so if I could help fill that in that would hopefully help someone in the future. Though I suspect I'll be developing in Linux soon haha Thanks for all the information, with the help I've got from here I've learned a lot
  • x86 build problem on x64 windows

    Solved
    14
    0 Votes
    14 Posts
    12k Views
    D
    @SGaist Yes. Now I encountered a new problem, It will be great if you can give me some tips. Thanks in advance. https://forum.qt.io/topic/70878/how-to-use-qt5-static-library
  • Failed to Build Qt 5.7

    Solved
    5
    0 Votes
    5 Posts
    3k Views
    ccx004C
    @SGaist Hi, Just to complete this. It needs to be built with MinGW-W64 and not MinGW-W32. It probably says this in big, bold letters somewhere and I missed it but just in case anyone else has the same problem, the errors I put in the first post are the errors you get when you build it with the 32 bit compiler. Best wishes.... Colin Bruce
  • Can't run Qt Creator 4.1.0 on Ubuntu 12.04

    Solved
    2
    0 Votes
    2 Posts
    848 Views
    F
    Though I didn't manage to I ended up upgrading Ubuntu all the way up to 14.04 and finally to 16.04 and both of these versions run Qt Creator alright.
  • Deploy problem WinRT with QtQuick Controls versions 1.4 and 2.0

    Unsolved
    2
    0 Votes
    2 Posts
    798 Views
    L
    OK, its a bug in Qt 5.7.0 https://bugreports.qt.io/browse/QTBUG-54021
  • Build non-QT C++ static library using QT

    Unsolved static library deploy ios android
    11
    0 Votes
    11 Posts
    8k Views
    SGaistS
    Then there might be something I'm missing about your current setup. In any case, take a look at this excellent blog article about that subject. That should give you the clues needed to solve your situation.
  • Error with xmpp in qt 5.2

    Unsolved
    2
    0 Votes
    2 Posts
    556 Views
    Chris KawaC
    You need to specify the path to where that include file is i.e. add in your .pro file: INCLUDEPATH += wherever/qxmpp/folder/is Also, unless you copied lib to the project directory you need to specify the path to that lib too i.e: LIBS += -Lwherever/the/lib/folder/is -lxmpp_d0 Last but not least, after you make changes in the .pro file remember to re-run qmake (Build->Run qmake) before you compile your project.
  • Failed to Build boot2qt open source

    Unsolved boot2qt opensource build steps qt 5.7 qt quick
    10
    0 Votes
    10 Posts
    7k Views
    jhiattJ
    @Newsages I've been building for Boundary Devices Sabrelite board (MACHINE=nitrogen6x). I have not tried to build for the emulator.
  • Qt Creator 4.0.1 does not find Qt 5.7.0 examples on Welcome page

    Unsolved
    1
    0 Votes
    1 Posts
    387 Views
    No one has replied