mtdev support (and some other components too) require pkg-config. Doesn't your
system have it?
As a quick fix for your build adding -lmtdev in the config test and
evdevtouch.pri is good enough.
The proper fix is probably
!contains(QT_CONFIG, no-pkg-config) {
...
} else {
LIBS += ...
}
BR,
Laszlo
________________________________
From: nus1998 <[email protected]>
Sent: Monday, February 2, 2015 11:41 AM
To: nus1998
Cc: Agocs Laszlo; [email protected]
Subject: Re:Re: [Interest] How to enable MTDEV for multi-touch
If I change "PKGCONFIG_PRIVATE += mtdev" in
qtbase/config.tests/unix/mtdev/mtdev.pro to "unix:LIBS += -lmtdev", then mtdev
will be "yes", however, I don't know is it safe for this modification.
Best regards,
Jie
? 2015-02-02 17:45:16,"nus1998" <[email protected]> ??:
Hi Laszlo,
Thanks for your reply, I realized it and downloaded the mtdev source code and
cross compiled it, and then I use -I and -R in configure for the header file
and library path respectively,
however, it is failed to active mtdev too.
Best regards
Jie
? 2015-02-02 16:04:39,"Agocs Laszlo"
<[email protected]<mailto:[email protected]>> ??:
Hi,
You need the libmtdev headers and libraries present in the sysroot, not in your
host environment.
What device are you cross-compiling for?
Best regards,
Laszlo
________________________________
From:
[email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>>
on behalf of nus1998 <[email protected]<mailto:[email protected]>>
Sent: Monday, February 2, 2015 5:36 AM
To: [email protected]<mailto:[email protected]>
Subject: [Interest] How to enable MTDEV for multi-touch
Hi All,
I'm now compiling Qt 5.3.2, I have added the option "-mtdev" on configure, and
there is no error encountered in the configure process. however, I found "mtdev
.................. no" in the configure.summary after configure process is
complete, which means "mtdev" is not enabled?
my host is ubuntu 12.04 and I installed libmtdev-dev, the complete configure
command that I inputed is like below:
./configure -xplatform linux-arm-gnueabi-g++ -release -opensource
-confirm-license -mtdev -make libs -prefix $PWD/_install
Thanks in advance for any tips.
Jie
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest