I’m developing an application to display histograms, in the context of the ATLAS TDAQ monitoring working group. The current tdaq release uses the root version 5.18.00f.
The application has the following code:
void TabImpl::view(){
(...)
TQtWidget *MyWidget= new TQtWidget(0,"test",0,1);
delete MyWidget;
}
No matter what constructor I use, I got the following compilation error on lxplus (with tdaq-02-00-00):
I’ve read on the forum that the qt4 support on this version is not poor, but it should at least compile.
Can you see what’s missing? Probably is a silly thing…
Please post back if you need more info about the environment or other features.
It seems to me TDAQ keeps its own version of QtROOT in TDAQ repository.
Do you use it ? May be you got some clash between TDAQ version of QtRoot and one from ROOT 5.18
[quote=“rneves”]I’ve read on the forum that the qt4 support on this version is not poor, but it should at least compile.
Can you see what’s missing? Probably is a silly thing…
[/quote] I do not see any COMPILATION error. You did not show us how you compiled your code. I am guessing your code was compiled. Please, tell us, how you did it.
I am really confused with your command options though
[quote=“emb”]…did anything ever come out of this thread, since I am having the same problem? [/quote]Which one?
[quote=“emb”]P.S. Indeed it is only a link error, the compilation works fine[/quote]I would appreciate we may leave this thread “as is” and start the new one if needed. Can you describe your issue from the scratch?
[quote=“emb”]P.S. I am using qt 4.4.2 and root 5.18 on slc4_ia32_gcc345 [/quote]First, PLEASE, read the topic: root.cern.ch/phpBB2/viewtopic.ph … highlight= carefully
Please, pay your attention to the clause:
[quote]ROOT 5.18.00f
. . .
qt 3.3.8 [/quote]LCG area doesnot provide any ready-to-eat combination. To be able to use QtRoot against of Qt 4.x AND ROOT 5.18 you have to re-build QtRoot yourself (see root.bnl.gov/QtRoot/How2Install4 … complement )