1 / 6

Qt driver problems

Qt driver problems. Laurent Garnier OSUR / INSU / CNRS Geant4 Collaboration Meeting – Chicago – 29 September 2015. Qt driver problems. Qt5 installation problem : On mac, Qt5 does not goes in a standard folder , we should specify the path by hand with cmake :

krystalj
Download Presentation

Qt driver problems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Qt driver problems Laurent Garnier OSUR / INSU / CNRS Geant4 Collaboration Meeting – Chicago – 29 September 2015 Laurent Garnier - OSUR / Geant4 Collaboration Meeting - 29 Sept 2015 - Chicago

  2. Qt driver problems Qt5 installation problem : • On mac, Qt5 does not goes in a standard folder, weshouldspecify the path by hand withcmake : => -DCMAKE_PREFIX_PATH=/where_is_qt (libs, bin and includes Laurent Garnier - OSUR / Geant4 Collaboration Meeting - 29 Sept 2015 - Chicago

  3. Qt driver problems SetVisible problem : • Symptoms : • Crash at runtime moslty on exampleB1 at QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 G4UIQt::SessionStart() () from /home/gate/Progs/Geant4/geant4.10.01.p02-install/lib/libG4interfaces.so • Affected versions (Mostly Linux + Qt5) • Geant4 10.01.p02 / 10.02.b01 (MT) + Fedora 22 + gcc 5.1.1 + Qt 5.4.2 • Geant4 10.01.p02 + Ubuntu 14.04 + Qt 5.4 • Geant4 10.01.p02 + Ubuntu 7.9 + Qt 5.5 Laurent Garnier - OSUR / Geant4 Collaboration Meeting - 29 Sept 2015 - Chicago

  4. Qt driver problems SetVisible problem : • Solution ? •  start GUI session and THEN run all what is in the macro • Hard-code visibility of the window like this:  G4UIQt* qui = static_cast<G4UIQt*> (Uimanager->GetG4UIWindow());if (qui) {qui->GetMainWindow()->setVisible(true);} • Creation of the viewer till after the Qt session window shows up, i.e. by creating the viewer from the GUI session. (one has to avoid /vis/viewer/create in the mac file) Laurent Garnier - OSUR / Geant4 Collaboration Meeting - 29 Sept 2015 - Chicago

  5. Qt driver problems JIRA Ticket : First time in 2013 (but with Qt4.8 and linux) • https://jira-geant4.kek.jp/browse/DEV-14 Last ticket (Qt5 and Linux) • https://jira-geant4.kek.jp/browse/DEV-189 Laurent Garnier - OSUR / Geant4 Collaboration Meeting - 29 Sept 2015 - Chicago

  6. Question ? Laurent Garnier - OSUR / Geant4 Collaboration Meeting - 28 Sept 2015 - Chicago

More Related