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
  • Qt VS Tools-Options-$(QTDIR) Error

    Unsolved qtdir vstools
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Compiling QMultiMedia with WMF

    Solved
    3
    0 Votes
    3 Posts
    937 Views
    J
    Thank you, seems like I need to switch compiler.
  • QML Deployment on Windows doesn't show any window

    Solved
    10
    0 Votes
    10 Posts
    5k Views
    M
    Yes. It did the trick. Thanks,
  • Error building QT 5.9.1 from souces

    Solved
    7
    0 Votes
    7 Posts
    3k Views
    M
    I am compiling from git sources on branch 5.11. Ran into exactly the same issue. Solution by @raven-workx number (1) did not fix it. (2) fixed it.
  • Cross-Platform Raspberry Pi Compilation Issues

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    mrjjM
    Hi With QtRPI script, you mean from here ? http://www.qtrpi.com/home Yes cross compiling is a time sink.
  • QtWebEngine Linux deployment problem

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    S
    Unfortunately linuxdeployqt does not fix this issue, tried the latest, still got: FATAL:zygote_host_impl_linux.cc(182)] Check failed: ReceiveFixedMessage(fds[0], kZygoteBootMessage, sizeof(kZygoteBootMessage), &boot_pid). I have the ICU data and libraries in the right location, e.g. resources/icudtl.dat resources/qtwebengine*.pak translations/qtwebengine_locales/*.pak Any ideas?
  • Creating a single-file 64-bit executable with Qt

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    sierdzioS
    @ambershark said in Creating a single-file 64-bit executable with Qt: You can't use the open source version Not unless the application is licensed under LGPL/GPL as well, that is.
  • Compiling Qt Windows Wallet Error

    Unsolved
    15
    0 Votes
    15 Posts
    4k Views
    A
    @Brewin95 said in Compiling Qt Windows Wallet Error: Ok so im back on track now so forget all above, the error i have now is C:\deps\hyper-v2-master\src\db.h:18: error: db_cxx.h: No such file or directory I Fix this error by adding ..\deps\db-6.2.32.NC -I to the INCPATH then i get these errors error: cannot find -ldb_cxx For this one you need to tell it where to find the library. Something like LIBS += -L../deps/db-6.2.32.NC/path/to/lib. error: cannot find -lboost_system-mgw63-mt-s-1_55 error: cannot find -lboost_filesystem-mgw63-mt-s-1_55 error: cannot find -lboost_program_options-mgw63-mt-s-1_55 error: cannot find -lboost_thread-mgw63-mt-s-1_55 error: cannot find -lboost_chrono-mgw63-mt-s-1_55 These mean you still don't have boost in the right directory or if you do then the files it is looking to link to are not correct. Or you are trying to link to libs that are not built with the same compiler as you are building your current project with. collect2.exe:: error: ld returned 1 exit status
  • Qt 5.11 dropping MSVC 2013?

    Solved
    3
    0 Votes
    3 Posts
    786 Views
    GPBetaG
    So I think I have to accept it and upgrade to MSVC 2015...
  • Library 'vulkan' is not defined. with QMake, clang6, Qt 5.10.1

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    H
    Yes, I've managed to solved this by correctly setting the makespec as well. I think it was using old spec files for a previous Qt/Clang version which caused the non-obvious issue. Thanks for the help.
  • extension GLX error

    Unsolved
    2
    0 Votes
    2 Posts
    556 Views
    SGaistS
    Hi, It partly depends on the hardware and your software stack. Check with your AI department to see if these anything related.
  • MySQL driver/plugin and libmysql.dll for Qt5 MSVS2017 64-bit

    Unsolved
    7
    0 Votes
    7 Posts
    4k Views
    dijunaD
    My bad, oh my, it's just a typo... "MYSQL", not "QMYSQL"... sorry.
  • Deploy library with Qt Creator plugin on Mac

    Unsolved mac qtcreator plugin qmake bundle
    10
    0 Votes
    10 Posts
    4k Views
    Aleksey_KA
    @SGaist, could You provide an example please - fixed mylibrary.pro? Thanks!
  • GCC Error During Cross Compile Setup

    Unsolved
    2
    0 Votes
    2 Posts
    4k Views
    A
    @Steve-Mansfield Try setting this set(CMAKE_SYSTEM_NAME Generic) in your cmake toolchain file. If it's set to Windows it will cause that issue you are seeing.
  • 0 Votes
    1 Posts
    555 Views
    No one has replied
  • Having trouble downloading free version of QT

    Unsolved
    3
    0 Votes
    3 Posts
    787 Views
    S
    @Steve-Mansfield By the way. I have tried to download now at least 6 times and get the same error every time. Finally got it to download from the QT site. My home connection is much faster than work. Tried it at home and got it the first time.
  • Error of compilation g++

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    JonBJ
    @GI2000 Your earlier screenshot shows no C++ compiler. Your latest screenshot does show MinGW C++ compiler. So have you actually tried to recompile?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Qt Maintenance Tool Failed to download metadata.

    Unsolved
    15
    0 Votes
    15 Posts
    7k Views
    JKSHJ
    @flashmozzg said in Qt Maintenance Tool Failed to download metadata.: Russia. One thing to note: I think it's not only/just the number of GETs but that they all happen simultaneously that overloads my network somehow. My webpages can even briefly stop loading when Qt MT "does its thing"... Btw, in any case spawning thousand of GETs per second is no good and I'm pretty sure it's reaching several OS limits (like max tcp connections). Hmm... I'm quite sure that QNetworkAccessManager only allows 6 simultaneous GETS; if more are requested, they get put in a queue until one of the 6 finish. I can't explain why your webpages stop loading though. I experience slow metadata downloads (it takes a few minutes for me), but I normally just let MaintenanceTool do its thing in the background while I browse other sites. Anyway, I've written to the Qt devs about this, and also about other issues relating to the online installer. Anyone who's interested can join in at: http://lists.qt-project.org/pipermail/development/2018-April/032461.html (If you want to post, you must subscribe to the Development mailing list https://bugreports.qt.io/browse/QTIFW-975 (you can post using your Qt Account)
  • Install QT with library and tools on non standard location

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    aha_1980A
    @joecoc1916 but what's your problem? it seems you have installed Qt with the online installer, while this thread is about compiling Qt from source. If you have other issues, please create a new thread for them.