Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. compile
    Log in to post

    • SOLVED Qt 6.2.4 on QNX710 - Qt version is not properly installed
      Installation and Deployment • compile qnx 7.1 qt 6.2.4 • • WPirkl  

      2
      0
      Votes
      2
      Posts
      73
      Views

      The Qt version was indeed not properly installed. qmake expects a specific directory for target libraries $ ~/Qt6/6.2.4/qnx/bin/qmake -v QMake version 3.1 Using Qt version 6.2.4 in /home/werner/qnx710/target/qnx7/home/werner/Qt6/6.2.4/qnx/lib So to fix QT Creator, I simply had to create a symbolic link: $ cd ~/qnx710/target/qnx7 $ mkdir -p home/werner $ ln -s ~/Qt6 .
    • UNSOLVED Does someone know where to download an old QtSdk for version 4.7.4 bundled with a MigGW complier that works with it?
      Installation and Deployment • qt4 compile compatibility old • • Curtwagner1984  

      5
      0
      Votes
      5
      Posts
      49
      Views

      Sadly, No luck. I'm getting: Maybe there are other factors that I didn't consider. Though it's better than how it was before, because before it didn't even show this message. It just crushed. EDIT: When I copied the complier and Qt version from the computer where it works, It successfully complied and runs. So the issue defiantly stems from incorrect versions of either the complier or qt. But the Qt version is 4.7.4 which is what I currently have, so I guess the problem is the complier. Is it possible to know what complier version I'm using just from the exe?
    • SOLVED Building Qt5.15.2 on Ubuntu 18.04 takes too long
      Installation and Deployment • compile qt5.15.2 • • Fantastic Mr. Fox  

      8
      0
      Votes
      8
      Posts
      224
      Views

      You're right. I installed Debian 11 OS (which offers 32 bit version of Qt5.15.2) on different machine (1TB HDD etc). Thanks for the answers..
    • UNSOLVED How to get Qt5.15 on Windows ?
      General and Desktop • compile windows10 qt5.15.2 • • plaristote  

      3
      0
      Votes
      3
      Posts
      115
      Views

      @jsulm said in How to get Qt5.15 on Windows ?: @plaristote said in How to get Qt5.15 on Windows ?: It seems that there are no available binary builds for Qt5.15... unfortunately There are - why do you think there are not? Use the online installer - it provides Qt 5.15.x. Agree with @jsulm. The installer is at https://www.qt.io/download-open-source
    • UNSOLVED Is it possible to compile once, run everywhere for windows.
      Installation and Deployment • deploy compile commercial platform • • ramzy  

      4
      0
      Votes
      4
      Posts
      223
      Views

      Hi and welcome to the forums Yes it should run on most other windows 10 64 bit. Maybe even win 7. But there is no guarantee as such with brand new mega patches. A license would give you many benefits but it's not better to deploy as such.
    • UNSOLVED Is it a difference where I compile a code?
      General and Desktop • compile • • TomNow99  

      19
      0
      Votes
      19
      Posts
      340
      Views

      @TomNow99 I guess you may want to take a look at this library: lwext4 Although "The main goal of the lwext4 project is to provide ext2/3/4 filesystem for microcontrollers" documentation also mentions compilation for Windows. And then take a look at project ext4-browser which relies on that library to provide "a file-archiver like utility which can create, read and modify ext2/3/4 disks and disk images on Windows and Mac OS systems." although the GUI is written using wxWidgets framework. So getting back to my suggestion, I guess you might combine lwext4 library and the ext2read GUI to achieve your goal...
    • SOLVED Is it possible to compile only a part of the Qt source code?
      Installation and Deployment • visual studio compile source code qtsvg • • jeanmilost  

      6
      0
      Votes
      6
      Posts
      290
      Views

      Thank you very much
    • UNSOLVED Static Compile Qt 5.13.1 with OpenSSL 1.1.1d using MinGW (in Windows 10)
      Installation and Deployment • qmake openssl compile compile-errors qt5.13 • • CybeX  

      3
      0
      Votes
      3
      Posts
      3215
      Views

      @sergitab94 Sorry for this reply I know this is an old post, but I followed your steps one by one but still my build fails. Anyway opennssl static build with Qt really frustrated me... C:\Qt\Static5113OpenSSL\src\qt-everywhere-src-5.11.3\qtbase\bin\qmake.exe -install qinstall C:\Qt\Static5113OpenSSL\src\qt-everywhere-src-5.11.3\qtbase\mkspecs\winrt-x86-msvc2015 C:\Qt\Static5113OpenSSL\StaticOpenSSL64\mkspecs\winrt-x86-msvc2015 C:\Qt\Static5113OpenSSL\src\qt-everywhere-src-5.11.3\qtbase\bin\qmake.exe -install qinstall C:\Qt\Static5113OpenSSL\src\qt-everywhere-src-5.11.3\qtbase\mkspecs\winrt-x86-msvc2017 C:\Qt\Static5113OpenSSL\StaticOpenSSL64\mkspecs\winrt-x86-msvc2017 mingw32-make[1]: Target 'install' not remade because of errors. mingw32-make[1]: Leaving directory 'C:/Qt/Static5113OpenSSL/src/qt-everywhere-src-5.11.3/qtbase' mingw32-make: *** [Makefile:92: module-qtbase-install_subtargets] Error 2 mingw32-make: Target 'install' not remade because of errors.
    • UNSOLVED build Qt distcc Raspberry Pi 2 unrecognized command line option
      General and Desktop • error compile crosscompile distcc • • pauledd  

      5
      0
      Votes
      5
      Posts
      1123
      Views

      Well, I consider to remove/change the code in my qt app to not depend on qtwebengine... It just displays some wheather maps (images) from an online source. I think I can realize that by fetching those images somehow from that online source and display them on an QLabel or so. I think qtwebengine is quite an overkill for that :)
    • UNSOLVED How to choose compiler and kit
      General and Desktop • windows compile kit • • TMJJ001  

      3
      0
      Votes
      3
      Posts
      3302
      Views

      Hi Do you really need that many kits installed ?? Desktop QT 5.6.2 MinGW 32bit -> can make normal win32 apps in 32 bit. Run on win 10 64 bit too ( as 32 bit) Desktop QT 5.6.2 MSVC2013 32bit. -> 32 bit, you must install compiler yourself. VS 2013 ONLY ( runs on 64 bit too) Desktop QT 5.6.2 MSVC2013 64bit -> 64 bit, you must install compiler yourself. VS 2013 ONLY ( runs ONLY 64 bit ) Desktop QT 5.6.2 MSVC2015 32bit -> 32 bit, you must install compiler yourself. VS 2015/17 ONLY ( runs on 64 bit too) Desktop QT 5.6.2 MSVC2015 64bit -> 64 bit, you must install compiler yourself. VS 2015/17 ONLY ( runs ONLY on 64 bit) Desktop QT 5.6.2 for Universal Windows Patform 32bit Not a Desktop app. WinRT only app Desktop QT 5.6.2 for Universal Windows Patform 64bit Not a Desktop app. WinRT only app Sounds to me you can just use mingw. for both 32/64 bit unless you want app to be 64 bit ?
    • UNSOLVED Header file not found but added as library in project file and as header file
      General and Desktop • build compile header qt 5.9 headerfile • • CybeX  

      4
      0
      Votes
      4
      Posts
      7558
      Views

      "misc_common.h" is located in the "misc_common" folder, no ? That's the one you have to add to your project.
    • UNSOLVED Force system QT libraries to use openssl libraries shipped with the application
      General and Desktop • openssl compile qcoreapplicatio qlibrary • • NulledPointer  

      5
      0
      Votes
      5
      Posts
      1294
      Views

      @ThirdStrand said in Force system QT libraries to use openssl libraries shipped with the application: @JKSH One would do this to ensure that the libraries used are the proper libraries which are expected in the program. In much the same way as we deploy the appropriate versions of Qt libraries, why not use a KNOWN library when deploying the libssl and libcrypto libraries? If you want to use known libraries in your app without the possibility of user interference you should probably use static libraries and not dynamic. Because even if the other libraries are not in the system path there is always at least one user who might want to exchange your library with another one - perhaps optimized for his computer ;) Had this a couple of times on windows with DLLs and a lot with java apps where users just replaced „outdated“ libraries. This has become the bane of my existence, and I am here in search of WHY it will work when it is in QtCreator and NOT work when deployed with the EXACT same loaded library files. I didn‘t see your used OS but I could imagine that Qt Creator uses LD_PRELOAD mechanism to ensure that the specific libs are loaded first. This at least should work an Linux, I don‘t know any trick for that on windows. AFAIK macOS offers a similar mechanism to Linux. By way of venting, this old question gets some new life. I have seen many "answers" which usually consist of "The user should install....", which anyone who has ever actually deployed retail software knows is an absolute NIGHTMARE. Witness ProtonVPN! This commercial application is deployed with a specific (v1.1.1j) set of OpenSSL libraries. Why? Because it is developed with that version and is tested with that version. Why opt to allow the end user to change the libraries and break your application at will? That's just self-defeating. Still this doesn‘t prevent the user from changing the libs themselves. And given the fact that the build environment doesn‘t often change it might very well be that they will be shipping an „outdated“ version - because the app was developed with it - and tested. When I worked on Air Traffic Control Software we almost never updated our libraries - because they were „tested“. As I said earlier: If you want to prevent user modification use static linking. This way the size of your deployed app will also shrink. But be sure to check possible licensing restrictions.
    • UNSOLVED Building Telegram Desktop Issue
      General and Desktop • compile telegram • • Mr.AliReza  

      7
      0
      Votes
      7
      Posts
      1962
      Views

      Still has errors !!
    • SOLVED Compile a Qt project running time
      General and Desktop • compile • • AliReza Beytari  

      7
      0
      Votes
      7
      Posts
      1224
      Views

      @AliReza-Beytari No, but you can bundle your application with other stuff (e.g. gcc, qmake et. al.) in one installer.
    • UNSOLVED How to compile a project of qt-app.org? for install a widget in QtDesigner.
      General and Desktop • python qtdesigner cpp compile pyqt4 • • curiosport  

      1
      0
      Votes
      1
      Posts
      644
      Views

      No one has replied

    • UNSOLVED How to run Qt Linux compiled applications on RaspbianMinimal (RaspberryPi2) ?
      QtonPi • linux compile raspberry pi 2 x11 run • • cxam  

      2
      0
      Votes
      2
      Posts
      998
      Views

      Hi, Did you compile your application with your desktop Qt and then copied it over the RPi2 ?
    • UNSOLVED QtWebKit compiling errors
      General and Desktop • qt5 windows static build compile qtwebkit • • sp00lin9  

      3
      0
      Votes
      3
      Posts
      1957
      Views

      @Konstantin-Tokarev yes it is, i was thinking of trying an older version of ruby as i just grabbed the newest one..
    • Error linking under Windows
      General and Desktop • static compile link • • jocala  

      10
      0
      Votes
      10
      Posts
      2544
      Views

      What does adbshield_plugin_import.cpp contain ?
    • [SOLVED] Setting up Visual Studio compiler with qt
      General and Desktop • visual studio debug debugger compile compiler visual c++ • • danieldil  

      4
      0
      Votes
      4
      Posts
      4472
      Views

      @TheBadger Thank you that was the right link.
    • Static compile in Qt 5.5 (msvc2013)
      Installation and Deployment • compile msvc2013 static qt • • MohammadReza  

      8
      0
      Votes
      8
      Posts
      3979
      Views

      Did you create a kit that uses your static Qt build ?
    • How to use Qt MSVC 2012/13
      General and Desktop • compile msvc2012 • • birger.sp  

      6
      0
      Votes
      6
      Posts
      2878
      Views

      Hey guys, thanks for your replies :) @Jeroentjehome said: There are multiple topics already for this, but here goes again: Sorry 'bout that. This information should probably be specified when downloading/installing Qt... Hopefully they will do something about it. @Jeroentjehome said: Install MSVC201x version (which one you need) (sigh) See, this is kinda the problem I'm having when trying to figure this out... What (exactly, with 100% accuracy) is it I need to install? Googling "msvc2012 download" redirects me to "Download Visual C++ Redistributable for Visual Studio ..." but downloading and installing that does not fix it. Neither does downloading "Visual C++ Compiler" of any version. @Chris-Kawa said: Hi, welcome to devnet Thanks! @Chris-Kawa said: ... so you do need to install Visual Studio. A free Express (for VS2012) or Community (VS2013) edition will suffice. Also when installing it choose non-standard installation and deselect anything you don't need. Aha! This is crucial information. For new developers, this is far from obvious. Installed Visual Studio 2013 and now its working, thanks :) I won't mix, this is hard enough as it is (thats what she said) Cheers
    • [SOLVED] Running GUI application executable does not show the main window
      General and Desktop • qml c++ gui compile application qt 5.4.2 • • johnsmith  

      3
      0
      Votes
      3
      Posts
      6517
      Views

      @Paul-H. D'oh! Why, of course, how silly of me. visibility: Window.AutomaticVisibility does NOT automatically do visible: true. Truly a case of needing to ask someone else to realize you're making a rookie mistake. Thanks for your help, Paul.
    • [SOLVED] QT compling - error 740
      General and Desktop • compile compiling qt • • uruloke  

      5
      0
      Votes
      5
      Posts
      3047
      Views

      @JKSH Thank you for clarifying what's causing the error. I will work around this then, so I can set it up accordingly to how I wanna use it.
    • Question How can I use PJSIP library in my Android project using Qt-Creator?
      General and Desktop • creator compile sip • • rostamiani  

      1
      0
      Votes
      1
      Posts
      1031
      Views

      No one has replied

    • [SOLVED] Using Armadillo library on QT creator
      General and Desktop • library compile linking armadillo • • RDiGuida  

      7
      0
      Votes
      7
      Posts
      5885
      Views

      You're welcome ! Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :) Up voting the answers that helped you will also allow other users to more easily find them.
    • [Solved] How can I compile my app statically?
      General and Desktop • static compile qt4.8.5 • • roseicollis  

      3
      0
      Votes
      3
      Posts
      920
      Views

      @SGaist Ok, thank you so much!
    • How to compile qt source on Windows7 platform?
      General and Desktop • opengl mingw compile source code windows7 • • dhuta  

      5
      0
      Votes
      5
      Posts
      1896
      Views

      Hi, To add to @koahnig, it's not a Qt specific problem. Compilers on Windows are not compatible one with the other, so basically you have to ensure that all components of your software are built using the same compiler.
    • Get Qt example running on SAM9N12
      Mobile and Embedded • arm compile compiling qt • • Bizer  

      29
      0
      Votes
      29
      Posts
      8155
      Views

      What do you have where the syntax error occurs ?
    • Compiling single vs. submodules
      General and Desktop • compile submodules • • doug_r  

      4
      0
      Votes
      4
      Posts
      1317
      Views

      I'd recommend using out of source builds so you can re-try as many time as you want
    • Universtal qt compiling bug "convert_RGB888_to_RGB32_neon...."
      Mobile and Embedded • build raspberry compile • • eriktheitalian  

      4
      0
      Votes
      4
      Posts
      2258
      Views

      config.txt ?
    • Qt project fails to compile on one PC (stuck in qmake) [partly solved]
      General and Desktop • qt5 qt creator qmake compile buid • • flashmozzg  

      7
      0
      Votes
      7
      Posts
      3957
      Views

      @SGaist said: id you also nuke the build folder ? Did you move your project in a different path ? Did you rename the path/folder containing it ? I've done the first. Then I just copied my project folder from my pc and opened project on usb drive - it worked. But starting from scratch (deleting every qt-creator related file, like .user) didn't help. So i just moved directory completely and it worked. It's still very strange because Git didn't any changes in project files so only hidden by gitignore remains and I'm pretty sure I tried to delete them.
    • One problem while compiling the ANGLE module in the Qt's source code dir
      General and Desktop • compile angle • • JohnYork  

      1
      0
      Votes
      1
      Posts
      572
      Views

      No one has replied

    • Same Qt project compiles on Windows but it doesn't compile on Linux
      General and Desktop • linux windows compile problem • • Aleciano  

      7
      0
      Votes
      7
      Posts
      2875
      Views

      To add to @SGaist: In my company we build the same code in 3 platform Windows / Visual C++ Linux / g++ OSX / clang Usually Visual C++ is the one less conform to the standard