* [ptxdist] Qt5: unknown module(s) in QT: serialport
@ 2016-01-27 11:26 fhirschberg
2016-02-01 13:50 ` Michael Olbrich
0 siblings, 1 reply; 3+ messages in thread
From: fhirschberg @ 2016-01-27 11:26 UTC (permalink / raw)
To: ptxdist
Hi,
I'm trying to build a simple Qt5 application for experiments with the
serial port.
I'm using the latest ptxdist-2016.01.0 and build for an 64 bit x86
platform.
When building my application qmake complains that it could not find the
module serialport.
But QtSerialPort is selected in the Qt5 Modules submenu.
And i can see the libraries in the root file system are there. With all
necessary links.
The same happens when i try to use xmlpatterns. It's selected and
build, but i got the same "unknown module(s) in QT: xmlpatterns"
message.
Any idea what happens here? Has someone experienced the same problems?
Florian
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] Qt5: unknown module(s) in QT: serialport
2016-01-27 11:26 [ptxdist] Qt5: unknown module(s) in QT: serialport fhirschberg
@ 2016-02-01 13:50 ` Michael Olbrich
2016-02-05 20:00 ` Florian Hirschberg
0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2016-02-01 13:50 UTC (permalink / raw)
To: ptxdist
On Wed, Jan 27, 2016 at 12:26:19PM +0100, fhirschberg wrote:
> I'm trying to build a simple Qt5 application for experiments with the serial
> port.
> I'm using the latest ptxdist-2016.01.0 and build for an 64 bit x86 platform.
>
> When building my application qmake complains that it could not find the
> module serialport.
> But QtSerialPort is selected in the Qt5 Modules submenu.
> And i can see the libraries in the root file system are there. With all
> necessary links.
>
> The same happens when i try to use xmlpatterns. It's selected and build, but
> i got the same "unknown module(s) in QT: xmlpatterns" message.
>
> Any idea what happens here? Has someone experienced the same problems?
Maybe the wrong qmake version is used. You need to set the correct PATH for
Qt5 applications:
<PKG>_PATH := PATH=$(PTXDIST_SYSROOT_CROSS)/bin/qt5:$(CROSS_PATH)
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] Qt5: unknown module(s) in QT: serialport
2016-02-01 13:50 ` Michael Olbrich
@ 2016-02-05 20:00 ` Florian Hirschberg
0 siblings, 0 replies; 3+ messages in thread
From: Florian Hirschberg @ 2016-02-05 20:00 UTC (permalink / raw)
To: ptxdist
Am 01.02.2016 um 14:50 schrieb Michael Olbrich:
> Maybe the wrong qmake version is used. You need to set the correct PATH for
> Qt5 applications:
>
> <PKG>_PATH := PATH=$(PTXDIST_SYSROOT_CROSS)/bin/qt5:$(CROSS_PATH)
>
> Michael
Hi Michael,
Thanks! That did the trick. I also figured out that the hosts qmake was
called, but don't know how to set the path in the ptxdist environment
the correct way.
Florian
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-05 20:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-27 11:26 [ptxdist] Qt5: unknown module(s) in QT: serialport fhirschberg
2016-02-01 13:50 ` Michael Olbrich
2016-02-05 20:00 ` Florian Hirschberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox