Compiling Linux project on Mac
Hi All,
I've got a small project which I coded using KDevelop on Linux.
I'm trying to get it to compile on an Intel Mac, but I am totally lost :-(
i Have XCode 2.4.1 and QT3.3.7 installed on the Mac
I moved the source tarball over, and tried the usual ./configure, but it came back with an error about missing kde-config. As far as I know my software should not need any KDE specific stuff.
I've been searching for a tutorial, and the only things I found all mentioned using
qmake -spec macx-xcode
When I run that (tried on both the linux machine and the Mac) it gives me (from the linux attempt, the mac one is the same, just different paths):
Could not find mkspecs for your QMAKESPEC after trying:
/usr/lib/qt-3.3/mkspecs
/usr/lib/qt-3.3/mkspecs
/usr/lib/qt-3.3/mkspecs
/usr/lib/qt-3.3
/usr/lib/qt-3.3
Error processing project file: /home/stephan/Development/C++/mac/vfalerter/project.pro
I'm out of ideas. How would I proceed from here?
Thanks in advance.
Re: Compiling Linux project on Mac
looks like your qt installtion is not in the default path.
What does your QTDIR sys var return?
Re: Compiling Linux project on Mac
On the Mac box it is in /Developer/qt (as per the installation docs) (And echo $QTDIR returns that path correctly).
I checked that mkspecs exists, and it is in the correct folder. Here is what I get when I try the command on there:
Could not find mkspecs for your QMAKESPEC after trying:
/Developer/qt/mkspecs
/Developer/qt/mkspecs
/Developer/qt/mkspecs
/Developer/qt
/Developer/qt
Error processing project file: /Users/Steph/Desktop/vfalerter/project.pro