Message: Re: Adding Qt support to Geant4.9.6 under VS2010 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Adding Qt support to Geant4.9.6 under VS2010 

Forum: Installation and Configuration
Re: None Adding Qt support to Geant4.9.6 under VS2010 (Ivan Brilkov)
Date: 02 Mar, 2014
From: Ivan Brilkov <Ivan Brilkov>

After a time from stating question in this thread I needed to make another installation of Geant4. And I decided to use version 10 binaries.
Most concering is that I get the same problem with Qt on another machine and installation.
What I have in Geant4Config.cmake:
# - Qt (UI and Vis!)
set(Geant4_qt_FOUND OFF)
set(Geant4_USES_QT5 )
  if(Geant4_FIND_REQUIRED_qt OR Geant4_FIND_REQUIRED_ui_all OR
    # If we have Qt5, we need to refind the components because they use
    # imported targets, so linking will not work unless we recreate
    # them
      find_package(Qt5Core REQUIRED PATHS "")
      find_package(Qt5Gui REQUIRED PATHS "")
      find_package(Qt5Widgets REQUIRED PATHS "")
      find_package(Qt5OpenGL REQUIRED PATHS "")
      find_package(Qt5PrintSupport REQUIRED PATHS "")

    set(_geant4_use_opengl_library ON)
I've tried tons of variants: qt4.8 qt5.2.
I can't understand what version of qt is compatible with geant4 10 binary ditribution. Cmake (applied) says that it can find qt libs when i try:
    find_package (Qt4 COMPONENTS QTCORE QTGUI)
but when I try 
    find_package(Qt5Widgets REQUIRED)
all I have - errors, may be try to clean all qt installations and reinstall qt5?

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Note: Re: Adding Qt support to Geant4.9.6 under VS2010   (Ben Morgan - 03 Mar, 2014)
2 Ok: Re: Adding Qt support to Geant4.9.6 under VS2010   (Ivan Brilkov - 05 Mar, 2014)
 Add Message Add Message
to: "Re: Adding Qt support to Geant4.9.6 under VS2010"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]