Root and Qt5

[quote=“bellenot”]Hi,

[quote=“Nicola_Mori”]Yes, that’s what I actually did with Qt4 and wanted to do with Qt5. My question was about the possibility to build the necessary Qt part (e.g. libGQt) distributed with Root against Qt5.[/quote]I don’t understand. libGQt is NOT needed to embed a TCanvas in a Qt application. And as I said, Qt5 is actually not supported by Qt ROOT (and there is no plan of porting it).

Cheers, Bertrand.[/quote]
Sorry to bother and also to go off topic, but my Qt4 application embedding TCanvas actually needs libGQt. I embed the TCanvas by creating a TQtWidget and getting the canvas with TQtWidget::GetCanvas(). Doing so, I need to link libGQt to my executable, otherwise compilation fails with:

CMakeFiles/SimViewer.dir/MainWindow.cpp.o: In function `MainWindow::ProcessEvent()':
/home/mori/analysis/CALET/caletSW/SimViewer/src/MainWindow.cpp:639: undefined reference to `TQtWidget::Refresh()'

and similar errors. Maybe I’m embedding the TCanvas in a wrong way?
BTW I understood the Qt5 situation, thanks again.