I am trying to use QT for root. And followed the instructions on QT ROOT web page and root tutorial.
Following the tutorial examples i.e. Qt Based ROOT application and ROOT based QT application. I can make the first one to work i…e using QT from root. But when executing ROOT from QT I get following message:
QPaintDevice: Must t construct a QApplication before a QPaintDevice
I am trying to use QT for root. And followed the instructions on QT ROOT web page and root tutorial.
Following the tutorial examples i.e. Qt Based ROOT application and ROOT based QT application. I can make the first one to work i…e using QT from root. But when executing ROOT from QT I get following message:
QPaintDevice: Must t construct a QApplication before a QPaintDevice
You should not link against of QtGui shared library. This shared library will be loaded later automatically via ROOT Plug-in mechanizm. The presence of the library caused no problem till ROOT version 5.03 and was needed to link QtROOT on Mac platfrom. (The project file for my “Hello” example does remove the library from the linker list and MUST work. May be you have the older version)
I have changed the rootlibs.pri file (This is where the confusion came from) with BNL CVS Repository and shall propagate this correction to CERN Repository ASAP.