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
  • 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
    806 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
    565 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
    5k 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
    579 Views
    No one has replied
  • Having trouble downloading free version of QT

    Unsolved
    3
    0 Votes
    3 Posts
    817 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
    8k 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.
  • QOpenGLWidget on Form

    Unsolved
    2
    0 Votes
    2 Posts
    408 Views
    SGaistS
    Hi and welcome to devnet, Usually you subclass QOpenGLWidget therefore I see two options: Promote feature of designer Create and setuo your QOpenGLWidget based class in the constructor of your custom widget constructor.
  • Unable to debug C/C++ - GDB complains about Python version

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    aha_1980A
    @Bioan, glad you got it working. So please mark this topic as SOLVED. Regards
  • Building Qt 5.10.1 from source on Linux(Ubuntu) using clang/LLVM

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    JKSHJ
    @geekie12 said in Building Qt 5.10.1 from source on Linux(Ubuntu) using clang/LLVM: I wanted to know the feasibility of building Qt 5.10.1 entirely using clang/LLVM on Linux(Ubuntu 17.10 x86_64). I think it should be OK. Clang is used to make the official builds of Qt for macOS/iOS/tvOS/watchOS. If something fails, take note of the exact error messages and post them here for help. I have tried to build on my side using clang(v 5.0.0-3) for Qt 5.10.1 from its source which is taking considerably long period of time(looks like expected though). Yes, Qt is a huge framework so building the whole thing could take a few hours (depending on which modules you enabled, and what your PC specs are)
  • seemingly useless files in appveyor artefacts

    Solved
    3
    0 Votes
    3 Posts
    606 Views
    MegamouseM
    Okay apparently I forgot to add --no-quick to our <PostBuildEvent> in the proj file. (I only added them to POST_BUILD in CMakeLists.txt before and excluded the Qt5Quick module from the qt settings.) At least now the Qt5Quick.dll is not created anymore.
  • Qt 5.6.2 ignores additional libraries, while building it from source

    Unsolved
    3
    0 Votes
    3 Posts
    828 Views
    S
    Well, i have built lzma using this same compiler, according to instructions prior to qt. git clone https://github.com/telegramdesktop/lzma.git cd lzma\C\Util\LzmaLib msbuild LzmaLib.sln /property:Configuration=Debug msbuild LzmaLib.sln /property:Configuration=Release cd ..\..\..\.. This produce lzma lib compiled by msvc2017. But if you look at their build manual, it is suggested to clone this first: git clone https://github.com/Microsoft/Range-V3-VS2015 range-v3 And in a qt installation, suggets this commands (its all done from a visual studio 2017 x86 native command prompt ): git clone git://code.qt.io/qt/qt5.git qt5_6_2 cd qt5_6_2 perl init-repository --module-subset=qtbase,qtimageformats git checkout v5.6.2 cd qtimageformats git checkout v5.6.2 cd ..\qtbase git checkout v5.6.2 git apply ../../../tdesktop/Telegram/Patches/qtbase_5_6_2.diff cd .. configure -debug-and-release -force-debug-info -opensource -confirm-license -static -I "%cd%..\openssl\Release\include" -no-opengl -openssl-linked OPENSSL_LIBS_DEBUG="%cd%..\openssl\Debug\lib\ssleay32.lib %cd%..\openssl\Debug\lib\libeay32.lib" OPENSSL_LIBS_RELEASE="%cd%..\openssl\Release\lib\ssleay32.lib %cd%..\openssl\Release\lib\libeay32.lib" -mp -nomake examples -nomake tests -platform win32-msvc2015 jom -j4 jom -j4 install cd .. So even though the compiler is msvc2017, they instruct to configure qt with win32-msvc2015. But i assume msvc2017/2015 have the same runtime version, plus i do not have any runtime incompability errors during compile time
  • Qt5, PyQt5 and opencv: problem with import

    Solved
    7
    0 Votes
    7 Posts
    8k Views
    J
    @SGaist Thank you for the link i have installed opencv this way so i have also linked my opencv to my python3 virtual environment. i could finally solved my problem by following this link, i guess it is not the optimal method but it worked... http://www.nerdyweekly.com/posts/how-to-install-pyqt5-on-virtualenv-on-ubuntu-14.04/