Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Problem with custom Qt screen driver: (2 Items)
   
Problem with custom Qt screen driver  
Hello everybody!!!
Sory for my bad english(
I'm trying to write my custom screen driver for Qt on QNX.
My question is where to place my plugin?

I wrote stub for plugin which simply must print "Hello" on console. After i wrote QScreenPlugin class which exports my 
driver with name "glesdriver" (implementation of QScreenPlugin in attachment). Then i compile plugin to so library. 
After I place my drver in catalog /usr/qnx650/target/qnx6/x86/usr/lib/qt4/plugins/gfxdrivers.

After all I'm trying to run qtdemo with my driver:
./qtdemo -qws -display glesdriver

But Qt returning with error:
glesdriver: driver not found

I'm interested in where to place screen driver in Qt for QNX, and where are standart screen drivers placed?
Attachment: Text glesplugin.cpp 1.32 KB
Re: Problem with custom Qt screen driver  
I solved my problem.
The problem was with environment variablr QT_PLUGIN_PATH. It should point to catalog where plugind are placed (in my 
case it is /usr/qnx650/target/qnx6/x86/usr/lib/qt4/plugins).