[vtk-developers] [VTK 0013888]: Qt3 / Qt4 include files mixup

Mantis Bug Tracker mantis at public.kitware.com
Mon Feb 18 08:50:52 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=13888 
====================================================================== 
Reported By:                Pietro Cerutti
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13888
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2013-02-18 14:50 CET
Last Modified:              2013-02-18 14:50 CET
====================================================================== 
Summary:                    Qt3 / Qt4 include files mixup
Description: 
The attached patch addresses a problem where both Qt3 and Qt4 are installed in
the system. Qt3 install files in ${PREFIX}/include, while Qt4 defaults to
${PREFIX}/include/qt4.

Since ${PREFIX}/include is added to INCLUDE_DIRECTORIES before the specific Qt4
include path, some Qt includes are taken from the Qt3 installation. The patch
fixes it by using specific Qt4 include-style (qtsomename.h --> QtSomeName) where
possible, and by specifying the Qt/ subdirectory where the new name does not
exist (see, qglobal.h).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-02-18 14:50 Pietro Cerutti New Issue                                    
2013-02-18 14:50 Pietro Cerutti File Added: patch-qt4                        
======================================================================




More information about the vtk-developers mailing list