Compiling QWT with QT5

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Compiling QWT with QT5

2,003件の閲覧回数
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.

ラベル(4)
タグ(5)
0 件の賞賛
返信
3 返答(返信)

1,643件の閲覧回数
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 件の賞賛
返信

1,643件の閲覧回数
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 件の賞賛
返信

1,643件の閲覧回数
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 件の賞賛
返信