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
  • Crosscompilation - the lazy way. Possible?

    Unsolved
    3
    0 Votes
    3 Posts
    388 Views
    artwawA
    @jeremy_k Thank you, I will take a look.
  • Cross-compile to Raspberry Pi 3 fails & EGLFS issue

    Unsolved
    10
    0 Votes
    10 Posts
    3k Views
    F
    I ran in the same problems but I finally got it to build it with the toolchain proposed by stryga42 AND OpenGL support. 1.) I copied the liniux-rasp-pi-g++/qmake.conf to liniux-rasp-pi-g++ and took the following lines QMAKE_CFLAGS = -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -std=c++11 from the inital qmake.conf (as mentioned in the tutorial). 2.) To make ./configure find the raspi OpenGL drivers it was necessary to set the following symlinks in sysroot/opt/vc/lib libEGL.so -> libbrcmEGL.so libGLESv2.so -> libbrcmGLESv2.so libOpenVG.so -> libbrcmOpenVG.so (this needs to be done on raspberry side as well) 3.) With following env variables it was possible to start the glwidget example with Qt 5.14.1 and eglfs with the correct openGL drivers. export QT_QPA_PLATFORM=eglfs export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/local/qt5pi/plugins/platforms export LD_LIBRARY_PATH=/usr/local/qt5pi/lib
  • Build QT5.15.2 module from split source

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    SGaistS
    Thanks for the feedback ! Happy coding :-)
  • Qt 5.15 for Windows arm64?

    Moved Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    O
    @koahnig Thanks, MyWindow.qml is being found, but MyDialog which is another qml defined in the qrc file is the one that is not being found. It is declared on MyDialog.qml I tried putting the app to use the qml files directly and it could find them, so the issue seems to be resolving the names
  • QT for AWS linux 2 : qtwebengine and qtwebenginewidget is not available.

    Unsolved
    5
    0 Votes
    5 Posts
    811 Views
    SGaistS
    Can you explain why you want to have webengine on a system that is designed to run web backend related workload ?
  • Android setup in QT using a offline method

    Unsolved
    2
    0 Votes
    2 Posts
    242 Views
    jsulmJ
    @KK1993 said in Android setup in QT using a offline method: But i am not sure whether i am doing it the right way Does it work (can you create/build an Android app?)?
  • switching from free licence to commercial licence without re-installing everything?

    Solved
    6
    0 Votes
    6 Posts
    738 Views
    J
    Thank you very much for your insights. So, I'll finish my open source projects and will dedicate this laptop for developing the commercial applications, starting after switching to a commercial licence. This should follow the rules as far as I understand. Thanks again!
  • 0 Votes
    12 Posts
    9k Views
    S
    you forgot to do source ˜/.bashrc to let this command get activated export PATH=$PATH:/opt/qt5pi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin
  • 0 Votes
    3 Posts
    278 Views
    A
    I am talking about some of the headers within Qt3DCore
  • Fresh install; can't start Creator

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    JKSHJ
    @mzimmers said in Fresh install; can't start Creator: did I miss a step during installation? I don't remember having to do this in prior Qt/Creator installations. You remembered correctly. Newer versions of pre-built Qt depend on more external xcb-related libraries compared to older versions. There were good reasons for the change, but it also came with significant downsides. Namely, not all Linux distros have these libraries installed by default -- which means we now have to install more stuff before we can use apps based on Qt 5.15 (including Qt Creator). See the following if you're interested in the gory details: https://codereview.qt-project.org/c/qt/qtbase/+/253905 https://bugreports.qt.io/browse/QTBUG-84749?focusedCommentId=519832#comment-519832 I'm happy enough to work through these one by one (assuming, of course, there aren't hundreds of them) If something like this happens again in the future, you can identify all the missing libraries in one go by calling ldd on libqxcb.so. That should hopefully be faster than trying to launch Qt Creator repeatedly.
  • Configure & Build Qt 5.15.1 with MSVC 19.12 using external 3rd party libraries

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    T
    @FlorianWolters I'm facing the same issue, were you able to figure out a solution?
  • How to change CMake version and Include SDL2?

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    BDC_PatrickB
    @Christian-Ehrlicher I changed it back to main.. SDL complains missing references to WinMain.. undefining it, before including SDL, works.
  • Run example qt but nothing display on screen

    Solved
    6
    0 Votes
    6 Posts
    870 Views
    KH-219DesignK
    Kudos! Clearly this was resolved and with the ideal method. I just want to give a "shout out" to the excellent VirtualGL project. It has allowed me to run QML programs in instances where they otherwise would not. (On Linux, often in conjunction with Xephyr.) vglrun /path/to/your_binary_name The screenshots on this thread indicate Microsoft Windows. Apparently VirtualGL has a Cygwin exe release now. Just pointing this out in case others are struggling with OpenGL. (I have not tried VirtuaGL on Windows. But I love it on Linux.)
  • QT+ External Lib Compile in Visual Studio not in QT Creator.

    Solved
    3
    0 Votes
    3 Posts
    552 Views
    L
    @SGaist said in QT+ External Lib Compile in Visual Studio not in QT Creator.: Advapi32 THANKS ( in capital letters ) that was it !
  • Cannot start the project in Qt for Mac OS

    Solved
    30
    0 Votes
    30 Posts
    5k Views
    L
    @SGaist said in Cannot start the project in Qt for Mac OS: It still does not explain why you get these errors when starting through Qt Creator but at least you can run it now. It is not problem. Moreover now I started to write 'normal' (window based) apps which do not need terminal. Thank you very much for your help!
  • Qt online installer 5.15.2 errors on Mac

    Solved
    4
    0 Votes
    4 Posts
    431 Views
    T
    @jsulm Yes, It initially prompted me to update installer, so I updated installer then ran setup again and got these errors. I resolved the issue by uninstalling everything and then installing Qt using Offline installer.
  • QT open source installed but not launching on ubuntu 20

    Unsolved
    2
    0 Votes
    2 Posts
    233 Views
    SGaistS
    Hi and welcome to devnet, Did you try to start from the command line ? If not, try it so you can see what's failing.
  • 0 Votes
    10 Posts
    20k Views
    SGaistS
    When adding new dependencies you should restart from a clean state. Just a call to configure might not catch the changes you applied to your system. As for when, always add all the development dependencies before calling configure.
  • 2 Votes
    4 Posts
    1k Views
    G
    i am facing the same nightmare. it's 2weeks i'm stuck tryin' to obtain my static +openssl build and...no way. No issues compiling without openssl support. Any progress on that? Seems that nobody wants to help :(
  • Schoolproject

    Unsolved
    2
    0 Votes
    2 Posts
    216 Views
    SGaistS
    Hi, Based on the recent threads we had on the forum, you likely have a too old library version on your system. You can check that using ldd on the xcb plugin. If so, the quick and dirty solution is to create a symbolic link for the library it's expecting to the one you currently have.