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
  • installer.updateFinished() never called

    Unsolved
    1
    0 Votes
    1 Posts
    189 Views
    No one has replied
  • how to include cmake project into my qmake project

    cmake qmake
    4
    0 Votes
    4 Posts
    3k Views
    M
    @Dmitriy-Shmykov did you find out a way to do it? Thanks
  • Updating existing offline installation

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    I
    Yes, the Qt offline installers are one-shot, you can't update the installation. There exists a ticket for this kind of feature but currently there are no plans to implement it. https://bugreports.qt.io/browse/QTIFW-1281
  • Error during installation

    Unsolved
    4
    0 Votes
    4 Posts
    721 Views
    I
    Hi @Saikumar123 , could you share more details about the issue and preferably open a bug ticket here: https://bugreports.qt.io Which host OS are you using (32/64bit?, OS version etc.). Are you using Qt Online or offline installer? Which version? Are you behind a proxy or firewall?
  • Error in Installing Qt in Ubuntu-mate 18.04

    Unsolved
    19
    0 Votes
    19 Posts
    4k Views
    I
    Hi @Malathi-K I'd recommed to use the Qt Online installer. With that you can install latest Qt packages and the QtCreator as well. The installer will automatically install Kits (registers compilers and debuggers) and in addition it will contain the examples and documentation of the selected Qt packages: https://download.qt.io/official_releases/online_installers/
  • 0 Votes
    1 Posts
    218 Views
    No one has replied
  • XCB QPA backend missing when configuring Qt

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    Just a wild guess: you installed libxkbcommon-dev after running configure. You then called configure again but without cleaning up first. Hence the test wasn't run again.
  • Switching from Qt4 to Qt5

    Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    H
    @jsulm No. I am not compiling recent version of VLC-Qt . I think I should try latest VLC-QT .
  • Compiling my own 32-bit QT 5.12.4 libraries.

    Solved
    5
    0 Votes
    5 Posts
    645 Views
    C
    @jsulm thank you very much! I installed the libgl1-mesa-dev but not the libgl1-mesa-dev:i386 previously. It works now :)
  • Specifying static or shared libraries

    Unsolved
    3
    0 Votes
    3 Posts
    301 Views
    A
    Thanks for the response! I just looked at the bug report system and couldn't find a clear match though https://bugreports.qt.io/browse/QTBUG-77159 might be related. I'll file a new bug report if I don't get any answer soon. I have checked 5.13 and do get the same behaviour.
  • 0 Votes
    8 Posts
    722 Views
    K-StrK
    @SGaist I think the problem was that I didn't do something else like while(x) (= do nothing) after starting the timer
  • 0 Votes
    14 Posts
    3k Views
    L
    [image: 62c952b5-5da5-4dc1-b20d-876878ac404a.png] This was all configured automatically. And since the 2015 Visual Studio version is what I selected, it seems this is all correct. I can try the symbolic link later today after sleeping. L. Spiro
  • qtbase.git -b 5.12.4 Quick Controls 2.5 & QtQuick 2.12

    Unsolved
    3
    0 Votes
    3 Posts
    447 Views
    C
    @sgaist Hi, Ok, will check. Thank you. RESOLVED (solution in the old post)
  • Still possible to install Qt 5.8 and earlier via the online installer?

    Unsolved
    4
    0 Votes
    4 Posts
    433 Views
    JKSHJ
    @guy-gizmo said in Still possible to install Qt 5.8 and earlier via the online installer?: it seems all versions older than 5.9 have been removed. Versions that have reached end-of-life (EoL) have been removed from the online installer. Qt 5.8 reached EoL in January 2018. Qt 5.10 reached EoL in October 2018. Qt 5.9 is a Long-Term Support version; it will be supported until May 2020 (https://blog.qt.io/blog/2017/06/07/renewed-qt-support-services/ ) Please use an offline installer to install EoL versions.
  • Lots of Errors QT

    Unsolved
    6
    0 Votes
    6 Posts
    680 Views
    SGaistS
    What didn't you adjust ?
  • QMYSQL driver not loaded on MACos

    Unsolved
    3
    0 Votes
    3 Posts
    426 Views
    E
    @jsulm wow! i use the absolute path, so it works? [image: 4acdeea6-0d56-44d6-93a8-62d4d5dd3c8c.png]
  • which is suitable for QT5.

    Solved
    7
    1 Votes
    7 Posts
    589 Views
    JonBJ
    @burjuvanzi Up to you, but you could at least try 14.04 or even 12.04 instead of 11.04...
  • 0 Votes
    2 Posts
    2k Views
    Pablo J. RoginaP
    @chris1092387456 could it be possible you have mixed Qt versions from the one you cross-compiled and the one it's used by the OpenCV install script you used. Assuming you run Ubuntu/opencv_latest.sh which in turn calls opencv_install.sh and then dependencies.sh, there are some apt-get install calls, so you''ll end up having pre-built Qt libraries along with your cross-compiled ones... function install_dependency { echo "--- Installing dependency: $1" sudo apt-get -y install $1 } ... install_dependency libqt5x11extras5 install_dependency libqt5opengl5 install_dependency libqt5opengl5-dev So may I suggest to start from scratch? First I'd follow the mechatronics guide to cross-compile and deploy Qt in the RPi device. Then I'd follow this guide to cross compile the latest version of OpenCV for Raspberry Pi. As you'll use WITH_QT=ON flag I guess, please adjust the paths in the CMake script(s) to use the cross-compiled Qt version in your host PC. And also use the correct path for cross-compiled OpenCV in your .pro file. As example, the following doesn't look good to me: LIBS += -L/usr/local/lib/libopencv_highgui.so
  • DLL entry point problem, using the same dll's from the same path as qt creator

    Unsolved
    14
    1 Votes
    14 Posts
    2k Views
    J.HilkJ
    @jwall141 well, than there's only one way. Run the deploy tool and manually replace the dlls with the correct ones. The Deploytool should copy all needed files, even if they are from the wrong wt installation
  • Where to find qt-sdk

    Unsolved
    3
    0 Votes
    3 Posts
    551 Views
    sierdzioS
    @saeid said in Where to find qt-sdk: I am running Lubuntu 19.04 on a mini-pc. I am developing an application on my desktop and want to deploy it on a mini-pc (both use the same architecture and binary compatible). I want to avoid installing the whole qt (5.13) on the mini-pc. I remember in good old days it was enough to install 'qt-sdk' package...but I can not find that anymore... Any ideas how to manage this? sudo apt install qt5-qmake or on some systems: sudo apt install qt5-default That will install the Qt libraries (not Qt Creator). But if you really only want to deploy a working executable to your other machine, you should use proper deployment tool: create a DEB package or create an AppImage (or a Snap, or Flatpak), or compile statically. Some more info in the docs: https://doc.qt.io/qt-5/linux-deployment.html