Compiling QWT with QT5

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compiling QWT with QT5

1,036 Views
antonanton
Contributor I

Hello everybody!

We are using var-som-mx6 module with Yocto Dora and trying to migrate to Daisy.

But we got a problem with QWT: in this file - "qwt_6.0.1.bb" there is a string: "inherit qt4x11",

so it can only be compiled with qt4.

Somehow we need to remove qt4 from recipe and compile it with qt5.

After trying some changes we got no success so far.

Does anybody tried to do this? Any help would be great.

Labels (4)
Tags (5)
0 Kudos
3 Replies

676 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Anton Anton,

I would suggest switching to a newer version of Qwt that supports Qt5 since just compiling Qwt 6.0.1 with Qt5 may not be as trivial as it sounds.

The Qwt 6.1.2 release has many fixes in order to be Qt 5.4 compatible.

Have a great day,
Gus

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

676 Views
antonanton
Contributor I

Hello gusarambula,

As I understand, you suggest switching Qwt version to Qwt 6.1.2, but would it be ok to compile it with Qt4?

Or there is a way to change recipe to compile Qwt 6.1.2 with Qt5?

0 Kudos

676 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Anton Anton,

Unfortunately there is no straightforward way to change the Qwt version from the Yocto BSP, you would need to do the necessary changes since only the 6.0.1 recipe is included on the BSP.

0 Kudos