Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Qt with Gfx Plugin

    Mobile and Embedded
    2
    3
    3737
    Loading More Posts
    • 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
      nvharisha last edited by

      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 Reply Quote 0
      • J
        jbarron last edited by

        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 Reply Quote 0
        • N
          nvharisha last edited by

          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 Reply Quote 0
          • First post
            Last post