[MacPorts] #32472: Root compiles with qt4-mac but does not work

MacPorts noreply at macports.org
Tue Apr 24 16:39:31 PDT 2012


#32472: Root compiles with qt4-mac but does not work
---------------------------------+------------------------------------------
 Reporter:  martin.zeman@…       |       Owner:  jonesc@…                
     Type:  defect               |      Status:  new                     
 Priority:  Normal               |   Milestone:                          
Component:  ports                |     Version:  2.0.3                   
 Keywords:                       |        Port:  root                    
---------------------------------+------------------------------------------

Comment(by fine@…):

 Replying to [comment:9 jonesc@…]:
 > The instructions you link to look rather long winded. Also it seems
 QtRoot is a separate project to root ? Is QT support not baked into the
 root code itself ?

 The QtRoot support is baked into the root code for the X11 platform only.

 For the other platforms (Windows / Mac "native") one should use the
 http://root.bnl.gov/QtRoot/How2Install4Unix.html . The problem for the Mac
 is that I have no Mac machine myself. I can not respond quickly to the
 reports coming from Mac users . I have to forward it to some QtRoot Mac
 users and rely on their feedback and support.

 Another  thing to consider. Due lack of demand the scope of QtRoot project
 was limited by the ROOT-based Qt application. I.e. the applications
 creating the QApplication Qt instance rather TApplication instance of
 ROOT. The bunch of such applications are included into the QtRoot
 distribution and available from
 http://qtroot.svn.sourceforge.net/viewvc/qtroot/trunk/qtExamples/

 That means you can create the Qt application and populate your Qt GUI with
 ROOT TCanvas/TPad -like graphics and some other ROOT-aware GUI components
 from QtRootGui package (that is not a part of the root distribution) .
 This is what 100% of the QtRoot users want. The inverse approach is
 possible but it is not  tested thoroughly.  Roughly say, you may not add
 the Qt widget-based  object to your ROOT GUI-based (TG-ROOT classes  based
 ) application and I do not see  anybody who wants / needs it.

 In the other words it is not recommended to mix Qt and ROOT GUI within one
 application. The code may work bit it will be not "stable " for sure.
 TCanvas is not regarded as ROOT GUI. Speaking ROOT GUI one means the
 "usual" GUI components like slider, menu, button, combo boxes etc.

 From this stand point it useless to test QtRoot installation using
 root.exe application. One should use
 http://root.bnl.gov/QtRoot/How2Install4Unix.html#testqtroot instead.

  Hope it helps.
                               Thank you.

-- 
Ticket URL: <https://trac.macports.org/ticket/32472#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list