From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from obi-wan.optimeas.de ([82.165.198.204]) by metis.ext.pengutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1Ztvcu-000711-8J for ptxdist@pengutronix.de; Wed, 04 Nov 2015 11:49:12 +0100 Received: from [192.168.12.232] (ip-95-223-50-196.hsi16.unitymediagroup.de [95.223.50.196]) by obi-wan.optimeas.de (Postfix) with ESMTPSA id C79436854B50 for ; Wed, 4 Nov 2015 11:49:06 +0100 (CET) From: "Matthias Klein" Date: Wed, 04 Nov 2015 10:49:05 +0000 Message-Id: Mime-Version: 1.0 Subject: [ptxdist] Porting rule file from qt4 to qt5 List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de, Matthias Klein Content-Type: multipart/mixed; boundary="===============0861997606==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: "ptxdist@pengutronix.de" --===============0861997606== Content-Type: multipart/alternative; boundary="------=_MBD47F9DE7-33E6-4DAB-9E6E-39D773A65FBC" --------=_MBD47F9DE7-33E6-4DAB-9E6E-39D773A65FBC Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I tried to move from qt4 to qt5. Building the library was no problem,=20 but I don't get a qt project inside the local_src to compile. Basically the rule file looks like what I get from "ptxdist newpackage=20 src-qmake-prog". #=20 ---------------------------------------------------------------------------= - # Prepare #=20 ---------------------------------------------------------------------------= - #SCPICMD_CONF_ENV :=3D $(CROSS_ENV) # # qmake # SCPICMD_CONF_TOOL :=3D qmake SCPICMD_CONF_OPT :=3D $(CROSS_QMAKE_OPT) PREFIX=3D/usr The prepare steps runs, but the resulting Makefile shows the wrong qmake= =20 command: # Command: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake CONFIG+=3Dsilent=20 PREFIX=3D/usr -o Makefile ../../../local_src/scpicmd/world.pro Instead of something like this (at the old qt4 call): # Command:=20 /home/user/bsp/platform-tx53-3.12-rt/sysroot-cross/bin/qmake-cross=20 CONFIG+=3Dsilent PREFIX=3D/usr -o Makefile=20 ../../../local_src/scpicmd/world.pro ptxdist calls qmake from the host instead of using the local qmake=20 inside the bsp. Does anyone have a tip what wrong in my rule file or what I should=20 change? Or is a local_src qt5 project not supported at the moment? Best regards, Matthias --------=_MBD47F9DE7-33E6-4DAB-9E6E-39D773A65FBC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,
 
I tried to move from qt4 to qt5. Building the library was no problem,= but I don't get a qt project inside the local_src to compile.
 
Basically the rule file looks like what I get from "ptxdist newpackage= src-qmake-prog".
# --------------------------------------------------------------------= --------
# Prepare
# ------------------------------------------------= ----------------------------
 
#SCPICMD_CONF_ENV :=3D $(CROSS_ENV)
 
#
# qmake
#
SCPI= CMD_CONF_TOOL :=3D qmake
SCPICMD_CONF_OPT :=3D $(CROSS_QMAKE_OPT) PREFIX=3D= /usr
The prepare steps runs, but the resulting Makefile shows the wrong = qmake command:
 
 
# Command: /usr/lib/x86_6= 4-linux-gnu/qt5/bin/qmake CONFIG+=3Dsilent PREFIX=3D/usr -o Makefile ../../= ../local_src/scpicmd/world.pro
Instead of something like this (at the old qt4 call):
 
# Command: /home/user/bsp/platform-tx53-3.12-rt/sysroot-cross/bin/qmak= e-cross CONFIG+=3Dsilent PREFIX=3D/usr -o Makefile ../../../local_src/scpic= md/world.pro
 
ptxdist calls qmake from the host instead of using the local qmake = inside the bsp.
 
 
Does anyone have a tip what wrong in my rule file or what I should = change?
Or is a local_src qt5 project not supported at the moment?
 
 
Best regards,
Matthias
 
--------=_MBD47F9DE7-33E6-4DAB-9E6E-39D773A65FBC-- --===============0861997606== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0861997606==--