|Message: Qt4 troubles with Geant4v10.0.2, Win7, Qt4.8.6, MSVS 2012 (v11)||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Summary: Given the configuration below, which version of Qt is known to work and how do you configure it in CMake? |
- Windows 7 x64 Ultimate
- MS Visual Studio 2012 (v11)
- CMake 3.0.2
- Qt 4.8.6
The Geant4 Install Manual only specifies Qt4, however there is Qt v4.8.0 through v4.8.6, and for me Qt 4.8.6 is resulting in an unstable build. Iíd like to know if I should go backwards to a previous 4.x.x version, forward to a Qt 5.x.x version, or if there is something subtle that I am not doing and Qt v4.8.6 should work.
Iíve done my best to follow the install manual exactly (granted Iím using CMake 3.0.2 instead of 2.8.x) and I have been winding up with a partially functional Qt viewer/interface. I can configure Geant4 in CMake without errors, in that I only see missing items in the ďAdvanced viewĒ (see attachment 2), and I am able to generate in CMake successfully. I am then able to build/install Geant4 without any errors, in Release mode.
Once I build any of the examples against this Geant4 install (say, Example-Basic-B1) and go to run them, I will indeed get a Qt viewer. However it is unstable: if I try to use the help tree in the Qt viewer, it will crash. If I try to enter any commands (other than run/beamOn) at the Qt command prompt, including simple ones that edit the view (perspective, axes, etc.) it will crash. Having watched this Qt tutorial
(videos 2 or 3), I am unable to do any of those actions without Qt crashing, other than run/beamOn xx.
My CMake basic settings are shown in the first attachment, and examples of some of the missing links are shown in the second attachment (which has the "Advanced" view toggled in CMake). These missing files/libraries do not appear to exist in my Qt folder, so I am unable to manually point CMake to them. Are they needed and that is the problem? Is there a Qt version that has them or with which CMake/Geant4 can automatically find them?
Any advice or suggestions are much appreciated.
|Inline Depth:||Outline Depth:||Add message:|