View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015043ParaView(No Category)public2014-10-10 09:302015-01-02 10:45
ReporterCory Quammen 
Assigned ToCory Quammen 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiongit-master 
Target VersionFixed in Version4.3 
Summary0015043: QMake executable is not being set in ParaView/CMake/UseParaView.cmake
DescriptionReported by Jim.Eliot@awe.co.uk on the paraview mailing list:

I am trying to build a file reader plugin against ParaView 4.2.0 and have been experiencing some difficulties. Qt is not found by cmake during the build process causing it to fail.
 
To illustrate the issue, I created the following simplified CMakeLists.txt file:
 
    CMAKE_MINIMUM_REQUIRED
    FIND_PACKAGE(ParaView REQUIRED)
    INCLUDE(${PARAVIEW_USE_FILE})
 
When I call cmake with ParaView_DIR pointing at my 4.1.0 build Qt is found, but with 4.2.0 Qt is NOT found.
 
ParaView was built using Superbuild and Qt was built as part of that process. Should Qt be detected from ParaViewConfig.cmake?
 
Is this a change in behaviour between 4.1.0 and 4.2.0? Do I somehow need to specify the location of Qt manually?
TagsNo tags attached.
ProjectTBD
Topic Name15043_add_qmake_variable_back
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0033622)
Cory Quammen (developer)
2014-10-10 09:31

This was accidentally changed when support for Qt5 was added
in commit eed7ccd3f7e804fed3864fcbe54fbd6958e63b41.

In ParaView/CMake/UseParaView.cmake, adding

set(QT_QMAKE_EXECUTABLE ${PARAVIEW_QT_QMAKE_EXECUTABLE})

just before the lines with

find_package(Qt4)

fixes the problem.
(0033630)
Cory Quammen (developer)
2014-10-10 13:49

commit 2a85f0c4c14a32b345e09833e439b3cced2976af
Author: Cory Quammen <cory.quammen@kitware.com>
Date: Fri Oct 10 13:39:16 2014 -0400

    Added back setting of QT_QMAKE_EXECUTABLE in UseParaView.cmake
    
    This was inadvertently removed in commit
    eed7ccd3f7e804fed3864fcbe54fbd6958e63b41
    
    Change-Id: I46ddec948e892cb507bf34549ae62b1b530e345e
(0033650)
Utkarsh Ayachit (administrator)
2014-10-15 10:08

Topics merged into master:
        15025_fix_annotations
        15035_reverse_connections_dsrs
        15043_add_qmake_variable_back
        15044_update_example_plugins
        cmake-cmp0053-warnings
        live-breakpoint
        pv-plot-bar-lut
        visible_range

(0033768)
Alan Scott (manager)
2014-11-06 19:27

Trusting fixed. Closing.

 Issue History
Date Modified Username Field Change
2014-10-10 09:30 Cory Quammen New Issue
2014-10-10 09:30 Cory Quammen Assigned To => Cory Quammen
2014-10-10 09:31 Cory Quammen Note Added: 0033622
2014-10-10 09:31 Cory Quammen Status backlog => active development
2014-10-10 13:49 Cory Quammen Topic Name => 15043_add_qmake_variable_back
2014-10-10 13:49 Cory Quammen Note Added: 0033630
2014-10-10 13:49 Cory Quammen Status active development => gatekeeper review
2014-10-10 13:49 Cory Quammen Fixed in Version => 4.2.1
2014-10-10 13:49 Cory Quammen Resolution open => fixed
2014-10-15 10:08 Utkarsh Ayachit Fixed in Version 4.2.1 => git-master
2014-10-15 10:08 Utkarsh Ayachit Status gatekeeper review => customer review
2014-10-15 10:08 Utkarsh Ayachit Note Added: 0033650
2014-11-06 19:27 Alan Scott Note Added: 0033768
2014-11-06 19:27 Alan Scott Status customer review => closed
2015-01-02 10:45 Utkarsh Ayachit Fixed in Version git-master => 4.3


Copyright © 2000 - 2018 MantisBT Team