Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt with Gfx Plugin
QtWS25 Last Chance

Qt with Gfx Plugin

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 4.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nvharisha
    wrote on last edited by
    #1

    Hi,

    I am bit new to Qt.
    I am trying to cross compile Qt on my MIPS based platform. But the issue is, the platform has its own convention of using Graphics.
    Hence instead of using LinuxFB or DirectFB, I have made my own.
    But every time I try to run the application it gives : Driver not found
    (during configuration i have added -plugin-xxx)

    When I go inside I find .so for the plugin created. Even I have added that in LD_LIBRARY_PATH.

    I have few questions:

    1. When it says driver not found, is it looking in specific directory?
    2. I assume that gfx driver means the plugin which I have created ("libgfx.so")
    3. Is there any environment variable that need to be set. Currently I have only set QWS_DISPLAY=gfx

    I am not sure where I am going wrong.

    If these have been discussed, please point me to the link.

    Hari

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jbarron
      wrote on last edited by
      #2

      As a first step, I recommend setting the QT_DEBUG_PLUGINS environment variable to 1.

      As a second step, you can try building and running the application located in qt/util/plugintest.

      Those should help in tracking down the problem. You might also want to take a look at:

      "http://doc.trolltech.com/4.7/plugins-howto.html#locating-plugins":http://doc.trolltech.com/4.7/plugins-howto.html#locating-plugins

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nvharisha
        wrote on last edited by
        #3

        Hi Thanks for the reply.

        Now i copied the plugin inside the application.
        Even though file is present, it says it couldn't find.

        I have added LinuxFb plugin, which it clearly finds out the "keys".
        While I debug and find the reason, If you have any suggestions please let me know.


        ./trivialwizard -qws

        QFactoryLoader::QFactoryLoader() looking at "/mytest/qt-4.7.2/examples/dialogs/trivialwizard/gfxdrivers/libqgfxscreen.so"
        "Cannot load library /mytest/qt-4.7.2/examples/dialogs/trivialwizard/gfxdrivers/libqgfxscreen.so: (File not found)"
        could not load
        QFactoryLoader::QFactoryLoader() looking at "/mytest/qt-4.7.2/examples/dialogs/trivialwizard/gfxdrivers/libqscreenlinuxfb.so"
        keys ("LinuxFb")
        gfx: driver not found

        Hari

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved