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
  • Migrating VS 2019 Qt project from VS Project Format v3.2 to v3.4

    Unsolved
    1
    0 Votes
    1 Posts
    187 Views
    No one has replied
  • CMake Does Not Configure Correctly When Cross Compiling

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    JoeCFDJ
    https://forums.gentoo.org/viewtopic-t-1118830-start-0.html
  • Ubuntu: Difference between Downloading Qt from Website and Building it in Terminal

    Solved
    4
    0 Votes
    4 Posts
    349 Views
    SGaistS
    Hi, To add to @AxelVienna: static builds and GPL/LGPL have implication with custom builds you can reduce the size of the deployment you can customize some flags/dependencies It also depends on your use cases and targets.
  • Qt 6.2.0 - not working with qmake

    Solved
    2
    0 Votes
    2 Posts
    325 Views
    SGaistS
    Hi, The build system for Qt 6 is cmake. You can still use qmake for your projects though.
  • QWebWngine

    Unsolved
    2
    0 Votes
    2 Posts
    269 Views
    SGaistS
    Hi and welcome to devnet, Might be a silly question but are you sure you are using the right kit when building your application with web engine ?
  • To build ODBC plugin I need the whole source code?

    Unsolved
    14
    0 Votes
    14 Posts
    2k Views
    Christian EhrlicherC
    @Mark81 I don't know the correct ODBC string for you and would need to google around. But it's the same as you want to open an odbc connection on windows and at least not a path to a qt plugin.
  • Something wrong when I installed qt in CenterOS8

    Solved
    12
    0 Votes
    12 Posts
    1k Views
    SGaistS
    @newbeee said in Something wrong when I installed qt in CenterOS8: yum -y install libxcb-devel That is the one for libxcb itself. The other librairies you have issues with have their own development package that you need to install.
  • Qt and OpenSSL Vuluerabilities Impact on Qt Insteller Framework

    Unsolved
    6
    0 Votes
    6 Posts
    731 Views
    sierdzioS
    @lck2000 said in Qt and OpenSSL Vuluerabilities Impact on Qt Insteller Framework: @sierdzio But the Qt Installer Framework I use relies on these ,and i haven't found a way to update them yet. You can recompile Qt Installer Framework yourself. It's not a convenient solution, I know.
  • QT QPSQL compile driver MSVC 2019 64

    Unsolved
    14
    0 Votes
    14 Posts
    1k Views
    Christian EhrlicherC
    @tomsmith said in QT QPSQL compile driver MSVC 2019 64: t was necessary to run C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat then compilation is performed without errors. This is what I told you ... open the MSVC developer command prompt
  • How to install latest Qt5?

    Unsolved
    7
    0 Votes
    7 Posts
    708 Views
    sierdzioS
    Whether old and new installer can coexist though - I doubt it but surely you can try.
  • Installation failed using online installer

    Unsolved
    6
    0 Votes
    6 Posts
    565 Views
    JKSHJ
    @sierdzio said in Installation failed using online installer: choosing mirrors seems to be not possible anymore Previously, an unofficial method was required. Now, an official method is supported: https://wiki.qt.io/Online_Installer_4.x#Selecting_a_mirror_for_opensource
  • Trying to install on Debian 11

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    U
    @eyllanesc thanks, that solved the problem...
  • Could not find "xcb" - Redux

    Unsolved
    4
    0 Votes
    4 Posts
    387 Views
    JoeCFDJ
    it is likely you are using wayland, not X11 Switch from Wayland to Xorg in Ubuntu At the login screen click on the cog icon beside the “Sign In” button. Select the option “Ubuntu on Xorg.” Enter your password and log in to your Ubuntu machine.
  • qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in

    Unsolved
    17
    0 Votes
    17 Posts
    11k Views
    jsulmJ
    @Nikolay_spb said in qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in: yes, i have desktop manager Would be nice to mention which one. Is X server running or do you use something else (like Wayland)?
  • How to update Qt Creator

    Solved
    27
    0 Votes
    27 Posts
    61k Views
    E
    @szerwi please uninstall using control panel
  • Cannot change target folder of Examples

    Unsolved
    1
    0 Votes
    1 Posts
    189 Views
    No one has replied
  • Unknown Module androidextras when building under Windows

    Solved
    3
    0 Votes
    3 Posts
    421 Views
    J
    Ok thanks that worked.
  • Cannot compile QtOpcUa

    Solved
    4
    0 Votes
    4 Posts
    421 Views
    M
    @raven-worx thanks, I was able to compile! Out of curiosity, is there a script for Linux to export all the relevant environment variables like in Windows (the "Qt Console") ? I spent a couple of hours to figure out why it cannot find the tools (CMake and Ninja). Then I had to export their paths and finally it compiled.
  • Recommended way to deploy/install Qt6 shared libraries

    Unsolved
    16
    0 Votes
    16 Posts
    5k Views
    M
    @jsulm so far I tried to build a simple QtWidget "Hello world" application on my dev machine. Then I copied it to the target with this structure: $ tree . ├── test_qt6 │   └── bin │   ├── test_qt6 │   └── platforms │   └── libqeglfs.so ├── qt6_libs │ ├── libicudata.so │ ├── libicudata.so.56 │ ├──libicudata.so.56.1 │ ├──libicui18n.so │ ├──libicui18n.so.56 │ ├──libicui18n.so.56.1 │ ├── but running the application with: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/user/qt6_libs /home/user/test_qt6/bin/./test_qt6 -platform eglfs it still searches for x11: ./test_qt6: error while loading shared libraries: libxkbcommon.so.0: cannot open shared object file: No such file or directory ps. sorry but the editor loses the indentation. The platform plugin file is actually inside the platforms directory UPDATE I tried to copy the missing library, now ldd finds all. But still does not run: EGLFS: Failed to open /dev/fb0 EGLFS: Can't continue without a display I'm working to check the permissions.... fixed. $ export QT_QPA_PLATFORM=eglfs $ export QT_QPA_EGLFS_FB=/dev/fb0 $ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/user/qt6_libs ./test_qt6 -platform eglfs Could not initialize egl display Aborted (core dumped)
  • Qt6 configure try to build also the disabled features

    Unsolved
    1
    0 Votes
    1 Posts
    347 Views
    No one has replied