Solved qmake_use.prf(6) 'take first' is not a recognized replace function
-
@dmnc said in qmake_use.prf(6) 'take first' is not a recognized replace function:
shows nothing but a directory
Did you run qmake from QtCreator?
-
@jsulm yes I did
-
@dmnc This is strange as you said you can build from QtCreator
-
@jsulm I googled a few days,but there seems no one get the same problem
-
@dmnc Can you show the content of the pro file?
What happens when you execute qmake (any errors/warnings)?
Also, Executable at host should contain file name, right? -
-
You said you tried different versions of Qt Creator, but have you also tried with the latest one (Qt Creator 4.7)?
take_first() is part of the qmake language since Qt 5.8.0 / Qt Creator 4.1.0. Qt Creator does contain it's own copy of the qmake parser, and therefore you need a recent version of Qt Creator to open .pro files with a recent version of Qt ...
-
@kkoehne the version of mine is 3.3.0(opensource),I will try the latest version now.
-
@kkoehne thankx for your advise ,it woks!!!I installed qtCreator4.6.2,and the error has gone。but remote deploy function still not work ,the “Executable on device” field still shows the error:Executable path not set。
-
@kkoehne I'm sorry, I wrote a wrong line in .pro file.Thank you very much,now ,all problem gone!