Unsolved QFtp under Qt 5
-
@aha_1980 said in QFtp under Qt 5:
@magguz said in QFtp under Qt 5:
I have chosen the following qmake-file: c:\Qt\Qt5.10.0\5.10.0\winrt_x64_msvc2017\bin\qmake
But I get this error: "Project ERROR: Cannot run target compiler 'cl'. Maybe you forgot to setup the environment?"
You get this error at the command prompt? To setup the environment for MSVC you have to open a "Visual Studio Command Prompt" (not sure how it is called exactly) from the Start Menu. Note that this compile has to match the Qt version.
I'm also not sure if WinRT is the best choice...
Yes, I get this error at the command prompt. Which qmake do you recommend to choose?
-
@magguz said in QFtp under Qt 5:
Yes, I get this error at the command prompt. Which qmake do you recommend to choose?
At this point it would be interesting to know which Compilers (version and bitness) you have and which Qt-Versions (version, compiler and bitness).
At the end, your choice depends on the target platform your application will run on.
-
@aha_1980 said in QFtp under Qt 5:
@magguz said in QFtp under Qt 5:
Yes, I get this error at the command prompt. Which qmake do you recommend to choose?
At this point it would be interesting to know which Compilers (version and bitness) you have and which Qt-Versions (version, compiler and bitness).
At the end, your choice depends on the target platform your application will run on.
Qt-Version is 5.10.0, Compiler is MinGW 5.3.0
I want to run the application on Windows 10 / 64 bit -
@magguz
winrt_x64_msvc2017 ?
Are you make a modern app ?
Not a Desktop app? -
@mrjj said in QFtp under Qt 5:
@magguz
winrt_x64_msvc2017 ?
Are you make a modern app ?
Not a Desktop app?I want to make a Desktop app.
-
@magguz
ok did you install Qt for Desktop app also?
you should use qmake from that folder. not winrt -
mine is
"C:\Qt\5.9.2\msvc2015_64\bin\qmake.exe" -
@mrjj said in QFtp under Qt 5:
@magguz
ok did you install Qt for Desktop app also?Yes.
you should use qmake from that folder. not winrt
I have installed Qt under C:\Qt\
In the directory c:\Qt\Qt5.10.0\5.10.0\ there are different folders which contain a qmake-file. Can you tell me which is the right one?
-
@magguz
Well i dont know mow much extra besides for Desktop you have installed.how many qmake.exe do you have ?
-
@mrjj said in QFtp under Qt 5:
@magguz
Well i dont know mow much extra besides for Desktop you have installed.how many qmake.exe do you have ?
There are 14 folders with a qmake-file. Is "msvc2017_64" perhaps the right directory?
-
@magguz
it looks right yes.
And make sure you run in a visual command prompt so it can find its nmake.exe etc. -
@mrjj said in QFtp under Qt 5:
@magguz
it looks right yes.
And make sure you run in a visual command prompt so it can find its nmake.exe etc.I used the "Developer Command Prompt for VS 2017" and I run the qmake in the folder "msvc2017_64". Now it created a stash-file. Is that correct?
-
@magguz
Yes sounds good. should also have created a makefile for the next step -
@mrjj said in QFtp under Qt 5:
@magguz
Yes sounds good. should also have created a makefile for the next stepYes, there is a makefile.
-
@magguz
Ok, then you can run nmake -
@mrjj
I run nmake in the qtftp-folder. And I got an error: "NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x3""
Do I need any options? -
Hi
not that i know of.
Is there not any other errors ?
some file not found or anything? -
-
@magguz
ok maybe u need perl installed. -
@mrjj
Sorry, but I must go to bed. It's already late. Let's go further tomorrow, ok?