Results 1 to 5 of 5

Thread: Problem with Qt embedded 4.4.0 static & directfb

  1. #1
    Join Date
    Jun 2008
    Location
    Campinas, SP, Brazil
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Unhappy 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:

    Qt Code:
    1. directfb: driver not found
    To copy to clipboard, switch view to plain text mode 

    (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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default 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).

  3. #3
    Join Date
    Jun 2008
    Location
    Campinas, SP, Brazil
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default 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

  4. #4
    Join Date
    Apr 2009
    Posts
    4
    Qt products
    Qt4

    Default 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

  5. #5
    Join Date
    Nov 2011
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default 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 #

Similar Threads

  1. Replies: 16
    Last Post: 23rd May 2008, 11:12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.