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
  • windeployqt 5.12.1 is not copying dlls

    Solved
    2
    0 Votes
    2 Posts
    414 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
    1k 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.
  • Specify macos target build under qtCreator

    Solved
    4
    0 Votes
    4 Posts
    826 Views
    B
    hi, thanks for the heads up so i ended up retrieving the old macbook and installed Qt build the app on it. thanks
  • After build from source, and install, getting errors trying to use it in Qt Creator

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    J
    Yup, that's it. Turns out I can add a qt.conf file "next" to the qmake.exe with the following in it: [Paths] Prefix = f:/5.12.1-32-release And now I get: F:\5.12.1-32-release\bin>qmake --version QMake version 3.1 Using Qt version 5.12.1 in f:/5.12.1-32-release/lib And Qt Creator is very happy.
  • 0 Votes
    2 Posts
    796 Views
    raven-worxR
    @tr1cks https://stackoverflow.com/a/44665772
  • Installation on Win7 fails with qt.qt5.5130.examples missing?

    Unsolved
    11
    0 Votes
    11 Posts
    2k Views
    K
    @iieklund It should be 131.188.12.211 in my case. Apparently University of Erlangen However, this time behaviour has changed. The download of meta was still a bit slow. Apprently the complete list was downloaded and I have started to add qt5.12.1 since it was this time possible.
  • Missing dependency while running qt online installer

    Unsolved
    12
    0 Votes
    12 Posts
    3k Views
    jsulmJ
    @ed00 I don't know Qt Maintenance Tool works for me.
  • Adding and deploying static *.a library. How?

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    B
    Solution found for MacOS and iOS. It's might be working well for another platforms. I haven't tested it yet. Every library that is using by libzip should be added manually to the QT project and if it's not by default in the system you need to build it like static. If there zlib - then add it manually, if there SSL - then add it manually, etc The step-by-step guidance for building libzip published by me on Github There are couple of strange things that I found (I don't know the cause of it): In the directory where located library appeared couple of symlinks on the real shared library file when I am attaching it to QT project via symlinks it's not working, only direct original file attaching to project working well (it's mean important for attaching zlib from system folder). See the screenshot [image: 7d3eb179-2d62-4daf-bf31-b8472b35cfbd.png] The libzip library only working when you attaching it to QT Project like statical library (*.a), all of attempts of using like shared/dynamic libraray (*.dylib) have got failed, even it's installed like the operational system part. Code from that works for me *.pro file: macx { LIBS += -lz.1 LIBS += -L$$PWD/libs/libzip/ -lzipstatic INCLUDEPATH += $$PWD/libs/libzip DEPENDPATH += $$PWD/libs/libzip PRE_TARGETDEPS += $$PWD/libs/libzip/libzipstatic.a } ios { LIBS += -lz.1 LIBS += -L$$PWD/libs/libzip/ -lzipstatic INCLUDEPATH += $$PWD/libs/libzip DEPENDPATH += $$PWD/libs/libzip PRE_TARGETDEPS += $$PWD/libs/libzip/libzipstatic.a } SUPER-MEGA-HUGE (SMH) thanks to Thomas Klausner (one of authors of libzip). He has been helping me to solve this trouble.
  • Deploying *.dylib. How?

    Unsolved
    2
    0 Votes
    2 Posts
    576 Views
    SGaistS
    Hi, You need to add the DYLD_LIBRARY_PATH environment variable in the Run part of the project panel and point it to the folder where that library is located.
  • A suitable version of nss could not be found. Cross Compile Raspberry pi3 Qt5.10.1

    Unsolved
    20
    0 Votes
    20 Posts
    8k Views
    L
    Hello, but i think it´s not very cool because i only able to build because i use the configuration ~/raspi/qt5/bin/qmake -r QMAKE_CFLAGS="-march=armv8-a -mtune=cortex-a53" and i run my application and i have the first error. glGetError 0x506 [6069:6105:0228/124507.705219:ERROR:gles2_cmd_decoder.cc(2523)] [.RenderWorker-0x15bcb0]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command may be it´s because i use "-march=armv8-a -mtune=cortex-a53" ? Thanks
  • Unsupported Qt version, 5.9+ is required

    Unsolved
    13
    0 Votes
    13 Posts
    5k Views
    JKSHJ
    @csg1 said in Unsupported Qt version, 5.9+ is required: There is only one kit installed, I assume the first one is overwritten. You did not uninstall Qt 4.8.7, so it still exists in your system. It is not overwritten. Follow @SGaist's latest instructions to switch to Qt 5.11.3.
  • Qt 5.12.1 snapcraft: something is missing for QDesktopServices

    Unsolved
    1
    0 Votes
    1 Posts
    283 Views
    No one has replied
  • raspberry pi cross compiling

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    Q
    Using the sourcecode qt-everywhere-src-5.12.0 will be fine. https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/ If the sourcecode version newer than 5.12.0, it must getting "The OpenGL functionality tests failed!" Error. None of [libGLESv2.so libGLESv2.a] found in [/home/alex/raspi/sysroot/usr/lib/arm-linux-gnueabihf] and global paths. => source produced no result. I have check those files is really exist, but system can not detected.
  • Error to build with Static Qt 5.6.3 on Mac

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    LinggoL
    @SGaist Thank you very much for the tip
  • Newbie here - OpenGL Cubes example problems on Windows

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    aha_1980A
    Hi @MAX_SWEAT, glad you got it working! Can you show us the updated pro file? I'd like to fix the example so it works out of the box. Thanks
  • QSqlDatabase: QMYSQL driver not loaded

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    _
    @SGaist Sure thing; Also, so if anyone else comes across this with a similar issue, i should mention that my command was somewhat off, but barely. The exact command was install_name_tool -change /usr/local/mysql/lib/libmysqlclient.20.dylib /usr/local/Cellar/mysql/8.0.15/lib/libmysqlclient.dylib libqsqlmysql.dylib
  • Cross building with printsupport, Qt 5.6.1

    Unsolved
    1
    0 Votes
    1 Posts
    348 Views
    No one has replied
  • Building QT 5.13 from source failed when build qtbase\src\tools\uic

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    M
    @koahnig Thanks for your help, I'll try the pre-built version of Qt 5.12.1
  • How to create minimal install on Ubuntu 18.04?

    Unsolved linux cloud minimal install
    6
    0 Votes
    6 Posts
    4k Views
    JonBJ
    @PaulR I don't do any "Qt web server app", so I don't know if that has any special requirements, but just to say I do all my Qt install stuff just from the release version for Ubuntu 18.04 via apt-get (including apt-get qt5-default, plus any extras I then find I need) and never do any source/compiling. Simplez :)
  • Deploying with linuxdeployqt tool

    Solved
    9
    0 Votes
    9 Posts
    8k Views
    B
    @abhay Hey mate. I ve been going through the same issue recently. Tried it all but nothing really works. Would you care to let me know what were the actual steps you took in detail, so I can check where I am missing? Only if you remember of course. It has been a while. Cheers mate!!