Hello all,
I am using QT and want to read root file in my program. When I read .root file in my main() function, it works well, but when I read the file in my own class, it gives these warnings and fails to read the file,
Warning in TClass::TClass: no dictionary for class TTree is available
Warning in TClass::TClass: no dictionary for class TBranch is available
Warning in TClass::TClass: no dictionary for class TLeafI is available
Warning in TClass::TClass: no dictionary for class TLeaf is available
Warning in TClass::TClass: no dictionary for class TLeafF is available
Warning in TClass::TClass: no dictionary for class TBranchRef is available
Warning in TClass::TClass: no dictionary for class TBranchElement is available
Warning in TClass::TClass: no dictionary for class TLeafElement is available
I have already add these lines in my .pro file,
INCLUDEPATH += $(ROOTSYS)/include
include("$(ROOTSYS)/include/rootcint.pri")
It seem that I should do some other configuration? Thanks a lot.
Ziyi