Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt 5.6.0 cant compile project Windows 10
I have installed Qt 5.6.0 from:
https://www.qt.io/download-open-source/#section-2 version: Qt 5.6.0 for Windows 64-bit (VS 2015, 836 MB)
but i can´t compile basic programe i have installed cigwin 64 and 32 bit and i have also tried mingw i have followed advice from Ani (sixth answer)
You installed Qt for Visual Studio 2015. Do you have Visual Studio 2015 installed on your computer ?
nuke last edited by nuke
yesi can finally compile but i have this error
...\qt\Qt5.6.0\5.6\msvc2015_64\bin\uic.exe:-1: e: error while loading shared libraries: VCRUNTIME140.dll: cannot open shared object file: No such file or directory
Strange, looks like you are missing the Visual Studio 2015 runtime.
You can get them here
Thanks a lot but still error but i am a little bit further now :)
error: cannot find -lmingw32
That errors means you are trying to link to a MinGW32 library which is not a good idea since you are using Visual Studio.
Do you have that library hardcoded in your project ?
ou have that library hardcoded in your project ?
I actually dont run Qt libraries from Visual studio i would like to use Qt creator and connect compiler manualy. Is there some easy way to start Qt 64 bit on windows without Vs (can be some older version) THanks for help again
Just install the MinGW package. It provides both Qt and the MinGW compiler (verify the options)
I have followed this example but stil not working
Before continuing to next steps make sure u have downloaded latest version of Qt.
Download and install minGW-64-bit from link: https://sourceforge.net/projects/mingw-w64/files/latest/download
Remember The directory to which you install minGW.
Open Qt creator and go to tools -> options -> Build and Run
In Compilers tab Select add -> MinGW ->
path: Browse for mingw-w64.bat (you will find this file in the directory in which you have installed MinGW).
ABI: x86 Windows msvc2015 pe 64bit
Don't forget to apply your edits.
Go to Kit -> add
Device Type: Desktop
Device: Local PC (Default for desktop)
Qt Version: select newest version
Apply changes and restart qt
While creating new project make sure you use GCC as kit
There's no need to go grab an external version of MinGW. The Qt installer already provides it.
re's no need to go grab an external version of MinGW. The Qt installe
I have download offline installer and i dont know where can i find builtin MinGW
(Qt 5.6.1 for Windows 64-bit (VS 2015, 836 MB))
Thanks for help again
Because it's the offline installer for MSVC2015.
Either grab the offline installer for MinGW or better yet, use the Online installer. With that one you can choose which version of Qt you want to install and easily upgrade.
nuke last edited by nuke
I have tried this as first but it only installed 32 bit version of Qt and mingw
Because currently there's no official package of MinGW64 from the Qt Company.
Out of curiosity, do you really need to build in 64bit ?