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
  • Best practices for including external programs in a Qt program

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    VRoninV
    during the equivalent of a "make install" yes, that will work during make install. While a "normal build" should not deploy, you can use QMAKE_EXTRA_TARGETS to achieve your result
  • qt5.8.0MinGW with broken MinGW-Installation?

    Unsolved
    2
    0 Votes
    2 Posts
    581 Views
    SGaistS
    Hi and welcome to devnet, The perl problem is known, see QTBUG-58615. I don't know about the MinGW problem you are encountering.
  • Best way to deploy to Google Compute Engine?

    Unsolved
    2
    0 Votes
    2 Posts
    628 Views
    jsulmJ
    @mattj You need to deploy your app with all needed libraries and plug-ins. See http://doc.qt.io/qt-5/linux-deployment.html
  • Set up Qt Creator for Raspberry Pi 3

    Solved raspberry pi 3
    5
    0 Votes
    5 Posts
    3k Views
    nukeN
    thanks a lot for help i already solved it. I just deleted the old compiler added new set same path and restart QT finally it works :)
  • Subprojects building

    Unsolved
    3
    0 Votes
    3 Posts
    812 Views
    kshegunovK
    To add to @SGaist you may also want to have a look at adding a custom target for your dependencies, assuming they're external to your application.
  • Error while building Qt from source code on macOS

    Moved Unsolved macos
    3
    0 Votes
    3 Posts
    977 Views
    Q
    Thank you @SGaist. Sorry for this stupid mistake. I'll try with this and compile QT on mac. Thanks again
  • VS2012 Linking issue

    Moved vs2012
    7
    0 Votes
    7 Posts
    2k Views
    MassiM
    @jsulm Many Thanks! Finally it works! I had to handle moc by myself. However I also had to include the moc_Myfile.cpp files in to the solution and change its property Precompiled Header (right click to the project->Properties->C/C++->Precompiled Headers) to Not Using Precompiled Headers Thanks in advance! Massi
  • Publish to Raspberry Pi after developed an app with boot2qt

    Unsolved
    2
    0 Votes
    2 Posts
    468 Views
    SGaistS
    Hi and welcome to devnet, I think you are looking for the Booting to a custom application chapter of Qt's documentation.
  • Problem with the use of MSVC compiler

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    Chris KawaC
    I do not know :) You don't know what you want to do? It's gonna be difficult to help you do that then ;) The Visual C++ installation directory doesn't look healthy. There should be a lot more files and folders in that directory. The C++ compiler is missing (it's cl.exe). How did you install Visual Studio? Have you selected C++ components during installation or just went with the defaults? If I remember correctly VS installer does not have C++ selected by default (only the C#/.Net stuff). Run the Visual Studio installer again and make sure you select C++ components. As for Qt - you installed Qt packages for all the supported versions of Visual Studio so to make them all usable you'd have to install Visual Studio 2015 and 2013. You also have two versions of Qt there 5.7 and 5.8. All this is getting you nowhere and wastes a lot of your time and hard drive space. Start with figuring out what you want to do exactly (desktop? mobile? which platforms?) and install only the package you actually need. I doubt you need them all.
  • Connect Android device with Windows 10

    Unsolved android windows10
    5
    0 Votes
    5 Posts
    2k Views
    P
    Not a silly question, but yes I did.
  • Need help with Qt Creator

    Unsolved qtcreator
    3
    0 Votes
    3 Posts
    916 Views
    VRoninV
    Windows: https://pythonschool.net/pyqt/installing-pyqt-on-windows/ Mac: https://pythonschool.net/pyqt/installing-pyqt-on-mac-os-x/ Ubuntu: http://www.saltycrane.com/blog/2008/01/how-to-install-pyqt4-on-ubuntu-linux/
  • openglsw32.dll not being built

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    A
    @isaac321 Thanks for making sure to post the answer when you found it for others who might come along. :)
  • Urgent Help Needed to build Linux distribution

    Unsolved
    63
    0 Votes
    63 Posts
    30k Views
    A
    @Ram_Thakkar77 It sounds like you just don't understand linux properly. It isn't that it is harder than windows (and in a lot of cases it's actually easier), it's just that you don't understand how the program is run and how ld finds your libraries. There's a term in windows called dll hell which I'm sure you've heard. You are basically just running into a similar situation in Linux but have no idea how it works or how to solve it. I recommend you stick with it as once you figure it out it's quite easy. The info p3c0 and jsulm gave should have helped you get your distribution ready, but you kept missing libraries and not setting your custom LD path properly. If you do this correctly it is not only quite easy but can all be easily automated in a small bash script. I definitely wouldn't blame Qt for this as you have a "distributing linux binary" problem, not a Qt one. That would have happened to you no matter what development toolkit you used. It has nothing to do with Qt at all.
  • Qt Creator - Undefined reference to...

    Solved
    5
    0 Votes
    5 Posts
    38k Views
    M
    an answer 4 years ago ..and now took me out of rough rush of 2 hours...Thank geeks
  • 0 Votes
    14 Posts
    5k Views
    ?
    BTW, next time, please give your thread a meaningful title. Also choosing the best fitting subforum is highly appreciated. And when your problem is solved, mark the thread accordingly. We have a small visual forum guide for newcomers: Hitchhiker's Visual Guide to the Qt Forum and there is also the Forum general guide. One more thing: The image upload feature on our forum is broken, see How to insert image on this forum for a workaround. :-)
  • 0 Votes
    4 Posts
    2k Views
    jsulmJ
    @Zigjaz You could try to update graphics driver on that machine
  • Manually added qmake weird version

    Solved
    15
    0 Votes
    15 Posts
    3k Views
    F
    @jsulm Thanks! i'll continue there!
  • Qt Project doesn't work anymore on the same system (Qt 5.5, Windows 8.1, x64)

    Solved
    14
    0 Votes
    14 Posts
    4k Views
    A
    @maroney Wow... I hate it when it ends up being hardware related. It's something I almost never suspect because it is so rare and so hard to track down. Glad you got it fixed though. :)
  • Qt5.8: plugin loaded before main() is entered

    Solved
    4
    0 Votes
    4 Posts
    675 Views
    T
    In case anyone cares, the resolution was to move calls to QCoreApplication::addLibraryPath() to before the QApplication is created. Qt4.8.7 did not care but Qt5.8 does.
  • Error when trying to build Qt

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    SGaistS
    Small note, it was due to a missing sysroot and needed the -no-opengl switch since the linaro sysroot does not contain the OpenGL enabler for the BBB.