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
  • How to setup Ogre3D in Qt Creator with MinGW

    Solved
    8
    0 Votes
    8 Posts
    703 Views
    8Observer88
    I did not make "mingw32-make install" after "mingw32-make". I set CMAKE_INSTALL_PREFIX to install path in "CMake GUI". After the "mingw32-make install" command all content will be in one place: [image: 6889ed69-f840-4291-aaf6-9383df9822d2.png] the .pro is more clear: INCLUDEPATH += "E:\ProgramFiles\ogre-13.1.1\include\OGRE" INCLUDEPATH += "E:\ProgramFiles\ogre-13.1.1\include\OGRE\Bites" INCLUDEPATH += "E:\ProgramFiles\ogre-13.1.1\include\OGRE\RTShaderSystem" LIBS += -L"E:\ProgramFiles\ogre-13.1.1\lib" LIBS += -L"E:\ProgramFiles\ogre-13.1.1\lib\OGRE" LIBS += -lOgreBitesStatic -lRenderSystem_GL3PlusStatic -lOgreGLSupportStatic -lOgreMeshLodGeneratorStatic -lOgreOverlayStatic -lOgrePagingStatic -lOgrePropertyStatic -lOgreRTShaderSystemStatic -lOgreVolumeStatic -lPlugin_BSPSceneManagerStatic -lPlugin_DotSceneStatic -lPlugin_OctreeSceneManagerStatic -lPlugin_OctreeZoneStatic -lPlugin_ParticleFXStatic -lPlugin_PCZSceneManagerStatic -lRenderSystem_GLES2Static -lRenderSystem_GLStatic -lOgreMainStatic -lOgreTerrainStatic -lCodec_STBIStatic -lzlibstatic LIBS += -lSDL2main -lSDL2.dll -lfreetype -lpugixml LIBS += -lopengl32 -lgdi32
  • Qt Installer Framework for online updates

    Unsolved
    1
    0 Votes
    1 Posts
    182 Views
    No one has replied
  • The Qt program runs but the popup window doesn't display anything

    Unsolved
    2
    0 Votes
    2 Posts
    185 Views
    SGaistS
    Hi and welcome to devnet, QMainWindow already has a layout. What you can do is create a QWidget where you apply your layout and set it as central widget.
  • qt.qpa.xcb: could not connect to display

    Unsolved
    4
    0 Votes
    4 Posts
    769 Views
    SGaistS
    Hi, Any chances your desktop environment runs on top of Wayland rather than Xorg ?
  • Deploy on remote windows/android device

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    A
    I think what he is trying to do is to start a remote debug session on a different windows machine. He means by deploying: Copy newly compiled outputs to remote (Win machine) Start a debug session on remote, which is controlled from local machine This should be possible by following this guide : https://doc.qt.io/qtcreator/creator-debugger-operating-modes.html - header Remote Debugging Unfortunately I could not start a full functional debug session with this guide. Is there somebody who could share how to configure it successfully?
  • Cant install QtCreator properly because installer cant open clangbackend.exe

    Unsolved
    2
    0 Votes
    2 Posts
    401 Views
    L
    @LazarDragutinovic One more thing there is another message after first that appears when I click ignore. It says: Error during installation process (qt.tools.qtcreator): Cannot create link "C:\Users\pc\AppData\Roaming\Microsoft\Windows\Start\Menu\Programs\Qt\Qt Creator 5.0.2 (Community).lnk": The operation completed successfully.
  • CentOS 8 / qt dependancy install issue

    Unsolved
    5
    0 Votes
    5 Posts
    8k Views
    V
    In my case on Debian it was libxcb* libxkbcommon* that needed installing to get Qt to run.
  • Cross-compiling with diffrent motherboard

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    B
    @Buket said in Cross-compiling with diffrent motherboard: Edit : I solved the problem here. I updated sysroot and before correcting my configure command, I prepared a qmake.conf file suitable for the processor of my motherboard. I adjusted the paths accordingly and got an error-free output. Configure command: ./configure -static -release -opengl es2 -device linux-jetway-arm-g++ -device-option CROSS_COMPILE=~/linaro/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -no-eglfs -sysroot ~/linaro/sysroot -opensource -confirm-license -prefix /usr/local/qt5li -extprefix ~/linaro/qt5li -hostprefix ~/linaro/qt5 -opensource -confirm-license -skip qtscript -skip qtwayland -skip qtdatavis3d -nomake examples -make libs -pkg-config -no-use-gold-linker -v I can also optionally share the qmake.conf file. Thanks for your help.
  • Migrating VS 2019 Qt project from VS Project Format v3.2 to v3.4

    Unsolved
    1
    0 Votes
    1 Posts
    178 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
    327 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
    256 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
    260 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
    1k 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
    693 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
    658 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
    517 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...