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
  • Error while running Qt5.12

    Unsolved
    3
    0 Votes
    3 Posts
    366 Views
    J
    @jsulm The problem occured when i start QtCreator, I use mageia7, it appears when i upgraded from mageia6 to mageia7. Reinstalling OS, solved everything. I back to mageia6. Regards, Jasur
  • QMYSQL Driver Setup

    Solved
    7
    0 Votes
    7 Posts
    5k Views
    SGaistS
    The thing is: you need to build the MySQL module for the Qt version used by PySide2. But since copying since to have at least given you access to it, first start by setting the QT_DEBUG_PLUGINS environment variable set to 1 and launch your python script. You'll have the plugins debug data printed and you'll see why it fails to load.
  • Command Line/Terminal Installers

    Unsolved
    6
    0 Votes
    6 Posts
    3k Views
    mrjjM
    Hi Actually it's for Qt Installer Framework which is used on all platforms so while shown for Ubuntu linux, it should work the same on other platforms. ( i did not test it ) It runs the installer with a custom script to make a silent install. On Windows, it would just be qt-opensource-windows-x86-5.14.1.exe and similar on macOS Regarding to using curl. You can get the installer https://download.qt.io/official_releases/qt/ but then user still has to check the right. Here its done on windows using powerscript and same type of installer script https://github.com/mjscosta/qt-silent-installer So I guess you can make a script that uses curl to get the right installer and then use the script to silently install what is needed. but you would need a script pr platform so not sure it will make you 100% happy :)
  • QtQuick.Controls installed but can not be used (on Raspberry Pi 4)

    Unsolved
    1
    0 Votes
    1 Posts
    678 Views
    No one has replied
  • Fatal Error when deploying Android app via Google Play or bundletool

    Solved
    2
    0 Votes
    2 Posts
    810 Views
    P
    I found a few bug reports related to my issue. In particular: QTBUG-80766 EDIT: According to patches mentioned in the bug report, I created a gradle.properties file in the directory ANDROID_PACKAGE_SOURCE_DIR with all the Information Qt usually writes to this file and additionally the key-value pair android.bundle.enableUncompressedNativeLibs=false This solved the issue - at least for those devices I tested so far. Thus, I mark this post as solved.
  • Can't link my app with static Qt

    Unsolved
    3
    0 Votes
    3 Posts
    960 Views
    mrjjM
    Hi Static linking of Qt requires a license and that you also build a static Qt version to link against. ( use as a new kit)
  • QTDIR only gets defined for 32bit

    Unsolved
    4
    0 Votes
    4 Posts
    730 Views
    jsulmJ
    @ejm1 And you really installed a 64bit Qt for your VS version?
  • QXcbConnection: Could not connect to display localhost:10.0

    Unsolved
    2
    0 Votes
    2 Posts
    6k Views
    IlaroI
    I am facing the same exact behaviour, did you managed to resolve it?
  • QMedia and RTMP Sources

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    erikherzE
    Roger that. Thank you!
  • PyQt5 app running on another system

    Unsolved
    2
    0 Votes
    2 Posts
    268 Views
    SGaistS
    Hi and welcome to devnet, There's a lot of information missing. What PyQt5 version ? What distribution are you targeting ? On what distribution are you developing ? How did you install PyQt 5 How did you install your application ? From the looks of it, you are using a version of Qt that has been build on a recent system on an old system.
  • .exe has stopped working when using vtk library

    Unsolved
    7
    0 Votes
    7 Posts
    597 Views
    Pablo J. RoginaP
    @rjaiswal1012 please show your code! Let's other see how your using the VTK objects...
  • Use the Qt installer in Docker now that it requires a login

    Unsolved
    1
    1 Votes
    1 Posts
    411 Views
    No one has replied
  • 0 Votes
    1 Posts
    319 Views
    No one has replied
  • Project ERROR: Cannot run compiler 'g++'

    Unsolved
    12
    0 Votes
    12 Posts
    12k Views
    J
    I had the same error. sudo apt install build-essential worked for me.
  • make install QML book example on windows

    Unsolved
    5
    0 Votes
    5 Posts
    856 Views
    S
    For qml you must rin qmake. And for the correct qmake-command. If you have Qtcreator installed... Follow theese steps to reproduce to commadline. Go to page QtCreator->Sidebar->Projects->Build->Build Settings Below label 'Build Steps' you have 'qmake'. At right side you have the 'detail' menu. Click it. Copy the code. Run code in terminal. After that you can run 'make'. And then 'make install'. In case you get into problem. Hers is the call I used for that very precis situation. /home/ptr/Progs/Programming/QT5.14/5.14.0/gcc_64/bin/qmake /home/ptr/development/qt/plugins/fileio/fileio.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug && /usr/bin/make qmake_all Modify so it fits your system. AFAIK, you don't need to be in the source directory. If this help you, please mark the thread as solved
  • 0 Votes
    8 Posts
    2k Views
    edwardy84E
    @jsulm thanks for your catch. i have fixed this problem. and then i can run make and make install command then. ....... Configure summary: Building on: linux-g++ (i386, CPU features: <none>) Building for: devices/linux-rasp-pi3-vc4-g++ (arm, CPU features: neon) Configuration: cross_compile compile_examples enable_new_dtags largefile neon precompile_header shared rpath release c++11 concurrent dbus no-pkg-config reduce_exports stl Build options: Mode ................................... release Optimize release build for size ........ no Building shared libraries .............. yes Using C++ standard ..................... C++11 Using ccache ........................... no Using gold linker ...................... no Using new DTAGS ........................ yes Using precompiled headers .............. yes Using LTCG ............................. no Target compiler supports: NEON ................................. yes Build parts ............................ libs Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... yes Qt D-Bus directly linked to libdbus .... no Qt Gui ................................. yes Qt Network ............................. yes Qt Sql ................................. yes Qt Testlib ............................. yes Qt Widgets ............................. yes Qt Xml ................................. yes Support enabled for: Using pkg-config ....................... no QML debugging .......................... yes udev ................................... yes Using system zlib ...................... yes Qt Core: DoubleConversion ....................... yes Using system DoubleConversion ........ yes GLib ................................... no iconv .................................. yes ICU .................................... no Logging backends: journald ............................. no syslog ............................... no slog2 ................................ no Using system PCRE2 ..................... no Qt Network: getaddrinfo() .......................... yes getifaddrs() ........................... yes IPv6 ifname ............................ yes libproxy ............................... no OpenSSL ................................ yes Qt directly linked to OpenSSL ........ no SCTP ................................... no Use system proxies ..................... yes Qt Gui: Accessibility .......................... yes FreeType ............................... yes Using system FreeType ................ no HarfBuzz ............................... yes Using system HarfBuzz ................ yes Fontconfig ............................. no Image formats: GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... yes PNG .................................. yes Using system libpng ................ yes EGL .................................... yes OpenVG ................................. no OpenGL: Desktop OpenGL ....................... no OpenGL ES 2.0 ........................ yes OpenGL ES 3.0 ........................ yes OpenGL ES 3.1 ........................ yes Session Management ..................... yes Features used by QPA backends: evdev .................................. yes libinput ............................... no INTEGRITY HID .......................... no mtdev .................................. no tslib .................................. yes xkbcommon-evdev ........................ no QPA backends: DirectFB ............................... no EGLFS .................................. yes EGLFS details: EGLFS OpenWFD ........................ no EGLFS i.Mx6 .......................... no EGLFS i.Mx6 Wayland .................. no EGLFS RCAR ........................... no EGLFS EGLDevice ...................... no EGLFS GBM ............................ no EGLFS Mali ........................... no EGLFS Raspberry Pi ................... no EGL on X11 ........................... yes LinuxFB ................................ yes VNC .................................... yes Mir client ............................. no X11: Using system-provided XCB libraries .. yes EGL on X11 ........................... yes Xinput2 .............................. yes XCB XKB .............................. yes XLib ................................. yes XCB render ........................... yes XCB GLX .............................. yes XCB Xlib ............................. yes Using system-provided xkbcommon ...... no Qt Widgets: GTK+ ................................... no Styles ................................. Fusion Windows Qt PrintSupport: CUPS ................................... yes Qt Sql: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... yes PostgreSQL ............................. no SQLite2 ................................ yes SQLite ................................. yes Using system provided SQLite ......... no TDS (Sybase) ........................... yes Note: Also available for Linux: linux-clang linux-icc Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing. Qt is now configured for building. Just run 'make'. Once everything is built, you must run 'make install'. Qt will be installed into '/home/debian9/raspi/qt5pi'. Prior to reconfiguration, make sure you remove any leftovers from the previous build.
  • Compile project using external source and header files in multiple subfolders

    Solved
    2
    0 Votes
    2 Posts
    249 Views
    Christian EhrlicherC
    @Tiago-M-Pinto said in Compile project using external source and header files in multiple subfolders: Is there any way I could do this? No, the external library should provide it - if it does not you're on your own.
  • QT5.14.1 MYSQL and MSVC2019

    Solved
    3
    0 Votes
    3 Posts
    464 Views
    D
    You made my day!!!!! In the config log there was a message regarding that the MSVC version was not set, which was the result of not deleted stash files (google was my friend). Now everything works, including using MYSQL in the application.
  • configure to build qtmultimedia

    Solved
    5
    0 Votes
    5 Posts
    555 Views
    ffhguyF
    @jsulm thank you
  • static building with 3rd party library

    Unsolved
    11
    0 Votes
    11 Posts
    1k Views
    mzimmersM
    expat is a 3rd party library XML parser. It's built into the IDF for my target processor (with which my Qt program communicates), so I just decided to use it with Qt as well.