qmake_use.prf(6) 'take first' is not a recognized replace function
-
@jsulm I was referenced this tutorial http://wiki.qt.io/RaspberryPi2EGLFS
and my cross compile command line: ./configure -release -opengl es2 -device linux-rasp-pi3-g++ for RPi3 -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v -no-use-gold-linker
I created qt projects with my Kit setting for raspberry pi3B ,qmake and build,everyting is ok ,than I synchronized the executable files to the pi device ,they worked perfectly. but there exists another two problem ,one is the remote deploy function doesn't work,I added the follow codes to the .pro file already :INSTALLS+=target target.path=/home/pi/ ,but the "Files to deploy:"filed show empty,and the "Executable on device:" field show "Remote path not set".the other problem is the project tree in the Project panel shows nothing but a directory.@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?
-
@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?
-
@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 ...
-
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 ...
-
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 ...
-
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 ...