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
  • OpenVino Library integration cause unexpected crash onStart.

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    T
    After restarting my PC the application run! It seems that the environment variables that I setup took place after system's reboot. I cannot figure out some other reason that cause that kind of error. @koahnig Appreciate your help mate!
  • 0 Votes
    2 Posts
    385 Views
    SGaistS
    Hi, It's not a new dependency. It was bundled before. Now all minimal supported distributions provide that library hence it has been removed. As for your question, then you should build all the dependencies you want to control and bundle them with Qt. You will likely have to modify your custom version rpath to ensure they are found before the system versions.
  • error C2027: use of undefined type 'QBufferPrivate'

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    Q
    In the end I used command line to build the dll. Thanks for your help!
  • qt maintenance tool not fetching the repositories

    Unsolved
    3
    0 Votes
    3 Posts
    714 Views
    A
    I cannot see any repo listed in the maintenance tool when I check the Settings. There is any specific file on Windows where this tool saves the repo infomation?
  • Is there a way to manually update Maintenance Tool 3.0.2 ?

    Unsolved install maintenance tool qt 5.11
    13
    0 Votes
    13 Posts
    13k Views
    jsulmJ
    @gregorburger Yes, we had such an issue last week, I hope it will work soon.
  • QtCreator complains that "Android SDK is missing necessary packages," does nothing.

    Solved
    18
    0 Votes
    18 Posts
    6k Views
    SGaistS
    Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)
  • Maintanance Tool won't show new packages

    Unsolved
    2
    0 Votes
    2 Posts
    795 Views
    K
    @tungsteno Sounds a bit like it is not solved or not completely solved. See here https://forum.qt.io/topic/100237/loading-the-meta-information-in-maintenance-tool-takes-ages Out of curiosity I have started the maintenance tool. Also here it takes ages again to download meta information. At some stage it seems to stop loading the meta info and jumps to the overview where only already instaqlled libraries are shown.
  • Build dll qt 5.6.3 with "/INTEGRITYCHECK" option

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    SGaistS
    Thanks !
  • Qt Linux deployment

    Unsolved
    8
    0 Votes
    8 Posts
    4k Views
    SGaistS
    The error message comes with a link to https://github.com/probonopd/linuxdeployqt/issues/340 where you get the full explanation about the message. It also talks about the -unsupported-allow-new-glibc option.
  • download qt is slow from Prague(Czech Republic)

    Unsolved
    3
    0 Votes
    3 Posts
    736 Views
    J.HilkJ
    @sierdzio said in download qt is slow from Prague(Czech Republic): I think picking other mirrors is possible in online installer, too, but I can't find proper links for that now. nothing precompiled afaik, but here's the git repo from @JKSH https://github.com/JKSH/QtSdkRepoChooser
  • error: Cannot run compiler 'g++'. Output:

    Solved
    14
    0 Votes
    14 Posts
    4k Views
    ashajgA
    hi guys finally I got success in installing Qt on my PC Just created new folder and installed all versions of MinGW from Developer and Designer Tools and its working now.. Thanks for help :)
  • Build Qt from source with dev packages

    Unsolved
    2
    0 Votes
    2 Posts
    402 Views
    SGaistS
    Hi and welcome to devnet, What version of Qt are you trying to build ? Why do you want to build Qt yourself ? What platform are you running ?
  • First time installing, 5.12.1 + MinGW7.30-64, compile error

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    jsulmJ
    @VietThan Yes. First is the Qt version (in this case Qt 5.12.1 built using Min GW 7.3.0 64 compiler), second one (in Tools) is the compiler itself. You always have to use same compiler which was used to build Qt. The reason is that different C++ compilers are not compatible with each other.
  • Problem cross compiling Qt 5.12.1 on Windows for ARM v7 Cortex A9

    Unsolved
    1
    0 Votes
    1 Posts
    718 Views
    No one has replied
  • Developing an interface, built for Windows XP

    Unsolved
    6
    0 Votes
    6 Posts
    985 Views
    O
    Hi everyone and thank you all for investigating this issue. @SGaist We managed to find a Visual Studio 6 installation to run and compile on the WinXP machine. We found out that in the SDK, there was some VC++ 6 files, like *dsw. It actually does compile simple examples from the SDK. Of course, we need to understand how the whole library works. However, I do not know how to check about the MinGW compiler. I was told it could work and I am currently downloading qt-opensource-windows-x86-mingw492-5.5.1.exe @mrjj There are a lot of libraries available in the SDK. When we try to use a command to open the camera, we get an error like Dll access violation. Choosing a compiler is not something we are familiar to! I personnally code small interfaces with Visual Studio 2017 with Qt 5.6 and it is very fun. But going back more than 10 years, I feel like I missed something. @KroMignon Well that is what I wanted to know: How to build from sources? @Pablo-J-Rogina Our supervisor is not willing to test it on another machine. It is his only camera with no spare and he does not want to try, as the IT tech told him. We are thinking of doing a small local network in order to share the image to another machine, with proper tools to develop a more up-to-date application.
  • Installation of Qt 4.8.7 in Ubuntu 18.04.1 LTS

    Unsolved
    3
    0 Votes
    3 Posts
    4k Views
    SGaistS
    Hi and welcome to devnet, You don't need to do that. Your distribution already provides Qt 4.8.7. You should use that one as it will have proper OpenSSL support directly.
  • Qt Installer non-interactive generic deselectComponent

    Unsolved
    1
    0 Votes
    1 Posts
    437 Views
    No one has replied
  • Building from source, yet still no QtWebEngine

    Solved
    4
    0 Votes
    4 Posts
    4k Views
    J
    Okay, I did find an error in the config.log: > C:\qt-everywhere-src-5.12.1\qtwebengine\config.tests\winversion\winversion.cpp(30): fatal error C1189: #error: unsupported Visual Studio version > jom: C:\qt-build-lib\config.tests\winversion\Makefile [winversion.obj] Error 2 test config.qtwebengine_core.tests.webengine-winversion FAILED It seems odd this didn't show up in the config summary: Build type: win32-msvc (i386, CPU features: sse sse2) Compiler: msvc 191627027 Configuration: sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples f16c largefile precompile_header rdrnd shani x86SimdAlways shared debug_and_release release debug build_all c++11 c++14 c++1z concurrent dbus no-pkg-config release_tools stl Build options: Mode ................................... debug and release; default link: debug; optimized tools Optimize release build for size ........ no Building shared libraries .............. yes Using C standard ....................... C89 Using C++ standard ..................... C++1z Using gold linker ...................... no Using precompiled headers .............. yes Using LTCG ............................. no Target compiler supports: SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX .................................. AVX AVX2 AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI Other x86 ............................ AES F16C RDRAND SHA Build parts ............................ libs tools App store compliance ................... no 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 udev ................................... no Using system zlib ...................... no Qt Core: DoubleConversion ....................... yes Using system DoubleConversion ........ no GLib ................................... no iconv .................................. no ICU .................................... no Tracing backend ........................ <none> Logging backends: journald ............................. no syslog ............................... no slog2 ................................ no Using system PCRE2 ..................... no Qt Network: getifaddrs() ........................... no IPv6 ifname ............................ no libproxy ............................... no OpenSSL ................................ no Qt directly linked to OpenSSL ........ no OpenSSL 1.1 ............................ no DTLS ................................... no SCTP ................................... no Use system proxies ..................... yes Qt Gui: Accessibility .......................... yes FreeType ............................... yes Using system FreeType ................ no HarfBuzz ............................... yes Using system HarfBuzz ................ no Fontconfig ............................. no Image formats: GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... no PNG .................................. yes Using system libpng ................ no EGL .................................... yes OpenVG ................................. no OpenGL: ANGLE ................................ yes Combined ANGLE Library ............... no Desktop OpenGL ....................... no Dynamic OpenGL ....................... yes OpenGL ES 2.0 ........................ no OpenGL ES 3.0 ........................ no OpenGL ES 3.1 ........................ no OpenGL ES 3.2 ........................ no Vulkan ................................. no Session Management ..................... yes Features used by QPA backends: evdev .................................. no libinput ............................... no INTEGRITY HID .......................... no mtdev .................................. no tslib .................................. no xkbcommon .............................. no X11 specific: XLib ................................. no EGL on X11 ........................... no QPA backends: DirectFB ............................... no EGLFS .................................. no LinuxFB ................................ no VNC .................................... no Mir client ............................. no Windows: Direct 2D ............................ yes DirectWrite .......................... yes DirectWrite 2 ........................ yes Qt Sql: SQL item models ........................ yes Qt Widgets: GTK+ ................................... no Styles ................................. Fusion Windows WindowsVista Qt PrintSupport: CUPS ................................... no Qt Sql Drivers: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... yes PostgreSQL ............................. no SQLite2 ................................ no SQLite ................................. yes Using system provided SQLite ......... no TDS (Sybase) ........................... no Qt Testlib: Tester for item models ................. yes Qt SerialBus: Socket CAN ............................. no Socket CAN FD .......................... no Qt QML: QML network support .................... yes QML debugging and profiling support .... yes QML sequence object .................... yes QML list model ......................... yes QML XML http request ................... yes QML Locale ............................. yes QML delegate model ..................... yes Qt Quick: Direct3D 12 ............................ yes AnimatedImage item ..................... yes Canvas item ............................ yes Support for Qt Quick Designer .......... yes Flipable item .......................... yes GridView item .......................... yes ListView item .......................... yes TableView item ......................... yes Path support ........................... yes PathView item .......................... yes Positioner items ....................... yes Repeater item .......................... yes ShaderEffect item ...................... yes Sprite item ............................ yes Qt Scxml: ECMAScript data model for QtScxml ...... yes Qt Bluetooth: BlueZ .................................. no BlueZ Low Energy ....................... no Linux Crypto API ....................... no WinRT Bluetooth API (desktop & UWP) .... yes Qt Sensors: sensorfw ............................... no Qt Positioning: Gypsy GPS Daemon ....................... no WinRT Geolocation API .................. yes Qt Location: Qt.labs.location experimental QML plugin . yes Geoservice plugins: OpenStreetMap ........................ yes HERE ................................. yes Esri ................................. yes Mapbox ............................... yes MapboxGL ............................. no Itemsoverlay ......................... yes QtXmlPatterns: XML schema support ..................... yes Qt Multimedia: ALSA ................................... no GStreamer 1.0 .......................... no GStreamer 0.10 ......................... no Video for Linux ........................ no OpenAL ................................. no PulseAudio ............................. no Resource Policy (libresourceqt5) ....... no Windows Audio Services ................. yes DirectShow ............................. yes Windows Media Foundation ............... yes Media player backend ................... DirectShow Qt Tools: QDoc ................................... no Qt WebEngine: Embedded build ......................... no Pepper Plugins ......................... yes Printing and PDF ....................... yes Proprietary Codecs ..................... no Spellchecker ........................... yes Native Spellchecker .................... no WebRTC ................................. yes Use System Ninja ....................... no Geolocation ............................ yes WebChannel support ..................... yes Use v8 snapshot ........................ yes Kerberos Authentication ................ yes I think the bit about "Embedded build: no" just means it isn't building for an embedded Linux, not for a WebEngine to embed in an app. I updated my MSVC 2017 with the latest service packs and it seems like it is working now. So it is probably a configuration bug that it doesn't report WebEngine won't be built. Just an FYI for anyone else who wants to try this Herculean task - we got a 16 core, 32bg Amazon Instance (a c5 4xlarge) and the build, using this config line: %_ROOT%\configure -prefix %_ROOT%\..\5.12.1-32-release -nomake examples -nomake tests -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qtquickcontrols -skip qt3d -skip qtcanvas3d -skip qtx11extras -skip qtactiveqt -skip qtcharts -skip qtdatavis3d -skip qtpurchasing -skip qtquickcontrols2 -skip qtvirtualkeyboard -skip qtwayland -opensource -opengl dynamic -confirm-license -make-tool jom So you see, I'm not building a bunch of pieces that we don't use. This took 20 minutes without WebEngine and 120 minutes with WebEngine. On my older dual 3ghz Xeon machine, the one sans WebEngine took 5 hours. I'll let you do the math for how long it would probably take with it. And this is using jom! Thanks again to SGaist for all your help! Jonathan
  • windeployqt 5.12.1 is not copying dlls

    Solved
    2
    0 Votes
    2 Posts
    411 Views
    S
    CALL C:\Qt\Qt5.12.1\5.12.1\msvc2017_64\bin\windeployqt.exe MyApp.exe --qmldir "D:\MyApp\Application\Qml" is working fine
  • Building Qt 5.12.1 on Windows has install problems

    Solved source building qt
    3
    0 Votes
    3 Posts
    997 Views
    J
    Okay, I think the problem here is that I was doing 'jom release' when I built it and that just doesn't seem to work. If I just do 'jom', it seems to work fine.