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
  • 0 Votes
    1 Posts
    570 Views
    No one has replied
  • Having trouble downloading free version of QT

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

    Unsolved
    2
    0 Votes
    2 Posts
    404 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
    601 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
    822 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/
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • QT build error

    17
    0 Votes
    17 Posts
    9k Views
    S
    This can be overcome by setting path of icu bin folder to PATH environment variable. Just posted for reference, it may help someone to resolve this issue.
  • Can't open input file: 'zdll.lib'

    4
    0 Votes
    4 Posts
    9k Views
    A
    @Shidharth This post was 8 years old... It would definitely have been better to start your own. Never do what the guy above did and just download a random dll. That's how you get malware and viruses embedded in your software. Also, never put dlls into visual studio's directory. Here is the website for zlib: https://zlib.net
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Qt5.10.1 cross compile: configure errors

    Unsolved
    14
    1 Votes
    14 Posts
    16k Views
    jsulmJ
    @sktrpi Just build QtCore, QtWidgets, networking stuff and QtSerial. I don't know how much space this will take but for sure much less than whole Qt build (and build will be faster and less dependencies needed :-)).
  • No 'Go to Slot' in the context menu

    Unsolved
    3
    0 Votes
    3 Posts
    839 Views
    aha_1980A
    Hi @Muz1 As suggested by @J-Hilk I'd try updating Creator. It should work with 3.5.1 also, but I'm afraid nobody will be able to help you with that problem...
  • SLOVED.Where define the QTDIR in visual studio?

    Unsolved
    2
    0 Votes
    2 Posts
    8k Views
    raven-worxR
    @suclida IIRC in the QtAddin settings and/or at the beginning of the vcxproj-file.
  • How to create online installer with Qt Installer Framework without Version specified?

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