View Issue Details

IDProjectCategoryView StatusLast Update
0002862Slicer4Core: Building (CMake, Superbuild)public2014-03-06 04:54
Reportermarkmichalski Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.2.2-1 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002862: Failure to recognize qmake on cmake
Description

On OSX 10.8.2

When Attempting:

./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -arch x86_64 -nomake examples -nomake demos -sdk /Developer/SDKs/MacOSX10.5.sdk/

The configure fails. So I attempted to do it as with linux:

./configure -prefix ../qt-everywhere-opensource-build-4.7.4 -debug-and-release -opensource -confirm-license -no-qt3support -webkit -nomake examples -nomake demos

This works. However, there is no SDK1.2 or equivalent to point CMAKE QT_QMAKE_EXECUTABLE path. Attempted ~/build/qt-everywhere-opensource-build-4.7.4/bin/qmake. CMake does not recognize this as a qmake executable and states qt4.7.4 is not on my machine.

Thanks for your help!

TagsNo tags attached.

Activities

jcfr

jcfr

2013-01-09 18:18

administrator   ~0007641

What is the output of the following command ?

$ /path/to/qmake -query

markmichalski

markmichalski

2013-01-09 18:36

reporter   ~0007642

input:
$ /path/to/qmake -query

returns:
/path/to/qmake: No such file or directory

jcfr

jcfr

2013-01-09 18:49

administrator   ~0007643

By "/path/to/qmake", I mean that you should look for the executable "qmake" in your qt build directory .. and then execute the command appending the "-query" param.

markmichalski

markmichalski

2013-01-09 18:55

reporter   ~0007644

Of course, apologies. Output:

QT_INSTALL_PREFIX:/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4
QT_INSTALL_DATA:/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4
QT_INSTALL_DOCS:/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4/doc
QT_INSTALL_HEADERS:/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4/include
QT_INSTALL_LIBS:/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4/lib
QT_INSTALL_BINS:/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4/bin
QT_INSTALL_PLUGINS:/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4/plugins
QT_INSTALL_IMPORTS:/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4/imports
QT_INSTALL_TRANSLATIONS:/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4/translations
QT_INSTALL_CONFIGURATION:/Library/Preferences/Qt
QT_INSTALL_EXAMPLES:/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4/examples
QT_INSTALL_DEMOS:/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4/demos
QMAKE_MKSPECS:/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4/mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.7.4

jcfr

jcfr

2013-01-09 19:00

administrator   ~0007646

I am assuming this a MacOSX build since the path starts with /Users, from your first note, you mentioned qt could not be build on MacOSX. Did you manage to compile Qt on mac ?

If you do the following:

  1. Checkout source of Slicer into folder "Slicer"
  2. Run the following command:
    $ mkdir Slicer-Superbuild-Debug
    $ cd Slicer-Superbuild-Debug
    $ cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4/bin/qmake

You are reporting that it fails to configure Slicer. Is that correct ?

markmichalski

markmichalski

2013-01-10 05:12

reporter   ~0007647

Param -

That was true, but seems fine now...perhaps it was because I was using:
~/build/qt-everywhere-opensource-build-4.7.4/bin/qmake

as opposed to the full path:
/Users/markmichalski/build/qt-everywhere-opensource-build-4.7.4/bin/qmake

I'm not sure. In any case, seems to be working alright now. Thanks!

M

jcfr

jcfr

2013-01-10 05:39

administrator   ~0007648

Hi Mark,

Good to know that the problem doesn't occur any more.

To set QT_QMAKE_EXECUTABLE, full path have indeed to be passed.

jcfr

jcfr

2014-03-06 04:53

administrator   ~0010770

Closing resolved issues that have not been updated in more than 3 months

Issue History

Date Modified Username Field Change
2013-01-09 18:08 markmichalski New Issue
2013-01-09 18:08 markmichalski Status new => assigned
2013-01-09 18:08 markmichalski Assigned To => jcfr
2013-01-09 18:18 jcfr Target Version => Slicer 4.2.3
2013-01-09 18:18 jcfr Note Added: 0007641
2013-01-09 18:18 jcfr Status assigned => feedback
2013-01-09 18:36 markmichalski Note Added: 0007642
2013-01-09 18:49 jcfr Note Added: 0007643
2013-01-09 18:55 markmichalski Note Added: 0007644
2013-01-09 19:00 jcfr Note Added: 0007646
2013-01-10 05:12 markmichalski Note Added: 0007647
2013-01-10 05:39 jcfr Note Added: 0007648
2013-01-10 05:39 jcfr Status feedback => resolved
2013-01-10 05:39 jcfr Fixed in Version => Slicer 4.2.3
2013-01-10 05:39 jcfr Resolution open => fixed
2013-02-12 09:39 jcfr Target Version Slicer 4.2.3 => Slicer 4.3.0
2013-02-12 09:40 jcfr Fixed in Version Slicer 4.2.3 => Slicer 4.3.0
2014-03-06 04:53 jcfr Note Added: 0010770
2014-03-06 04:54 jcfr Status resolved => closed