Problem with Qt embedded 4.4.0 static & directfb
Hi!
I'm making some tests with qt-embedded. First I compiled Qt shared and also my test app. It worked well.
Later I tried to make the same test with Qt static, but I'm had problems. The following message appears:
Code:
directfb: driver not found
(In both cases I used -plugin-gfx-directfb to configure Qt)
Has anybody seen it? If there's another thread about it, please send the link :) (I haven't found it yet).
thanks
Anselmo
Re: Problem with Qt embedded 4.4.0 static & directfb
With static Qt you have to use Q_IMPORT_PLUGIN() macro to load the plugin. Other solution is to compile the plugin into Qt (if configure offers such option for that plugin).
Re: Problem with Qt embedded 4.4.0 static & directfb
Thanks jacek! Now it's working.
I'll put here 2 links that can help people who search for this in the future =)
http://doc.trolltech.com/4.4/qtplugi..._IMPORT_PLUGIN
http://doc.trolltech.com/4.4/plugins...static-plugins
Re: Problem with Qt embedded 4.4.0 static & directfb
iam want to use directfb. i have alredy built directfb1.0.0 . i have given -plugin-gfxdriver-directfb in configure command. To test the direct fb i included qt_Q_IMPORT_PLUGIN(qdirectfb) inmain.cpp of calculator example. but when i give make command it throws mw an error as "constructor,destructor or type conversion before '(' token".
after adding Q_IMPORT_PLUGIN i gave qmake.pro and then make command. can somebody guide me
Re: Problem with Qt embedded 4.4.0 static & directfb
I have same problem as below.. Let me know how to fix it in detail.......
/usr/qpe/app # ./hello -qws -display directfb
directfb: driver not found
Aborted
/usr/qpe/app #