Qmake error
Started by Reddog, Nov 23 2011 02:34 AM
8 replies to this topic
#1
Posted 23 November 2011 - 02:34 AM
I am trying to setup a development environment and have followed both wiki instructions. I am getting a qmake error (command not found). I looked in the makefile and noticed that the makefile does not point towards the right directory. I don't really want to change the makefile, is there another way to point towards Qmake and the other dependencies? I would have put them in the correct place as per the makefile except I followed the wiki instructions and it said nothing about putting them in specific directories.
#2
Posted 23 November 2011 - 02:42 AM
You probably should start with what your environment is and what you did to get to that point. I think you are on OSX so did you install the QtSDK? You'll need to install XCode too (check app store) which I bet isn't mentioned. Also does it say what command is not found?
#3
Posted 23 November 2011 - 04:18 AM
Reddog, on 23 November 2011 - 02:34 AM, said:
I am trying to setup a development environment and have followed both wiki instructions. I am getting a qmake error (command not found). I looked in the makefile and noticed that the makefile does not point towards the right directory. I don't really want to change the makefile, is there another way to point towards Qmake and the other dependencies? I would have put them in the correct place as per the makefile except I followed the wiki instructions and it said nothing about putting them in specific directories.
If you're in OSX, it's possible you made the same mistake I did, which was to download QT from the website. Instead of this, I had to do
make qt_sdk_install
And then everything worked (perhaps after closing the terminal and reopening it, I don't remember anymore if that were a necessary step).
#4
Posted 23 November 2011 - 05:00 AM
peabody124, on 23 November 2011 - 02:42 AM, said:
You probably should start with what your environment is and what you did to get to that point. I think you are on OSX so did you install the QtSDK? You'll need to install XCode too (check app store) which I bet isn't mentioned. Also does it say what command is not found?
Whoops silly me, wrote the question without thinking.
I am on Mac. I installed Xcode, the other requirements and QT (downloaded from website and installed). Kenn are you saying that downloading from the website is the wrong way to go about installing QT on Mac?
#5
Posted 23 November 2011 - 05:02 AM
Yup, exactly.
#6
Posted 28 November 2011 - 01:41 PM
make qt_sdk_install
This tries to install the Linus version on my Mac. Checked the Makefile to see what was going on and it seems its not autodetecting my OS version.
EDIT: Actually it looks like the download URL is hardcoded and always tries to install the Linux version.
This tries to install the Linus version on my Mac. Checked the Makefile to see what was going on and it seems its not autodetecting my OS version.
EDIT: Actually it looks like the download URL is hardcoded and always tries to install the Linux version.
#7
Posted 28 November 2011 - 01:44 PM
Yeah, I think that I remembered that wrong. I'm working on a couple patches to the makefile to see about fixing this. I checked on my computer and I have a hard copy of qmake in my /usr/bin, which implies to me that some installer put it there, not I. I'll report this afternoon with any progress I made.
#8
Posted 28 November 2011 - 09:40 PM
Okay, fixed the Makefile and submitted patch: http://progress.open...g/browse/OP-605
In the meantime, you need to download Qt Libraries (and *NOT* Qt-SDK! Maddening, isn't it?).
Qt SDK is what you need if you plan on using the Qt GUI for doing GCS development, not simply for compiling GCS and/or OpenPilot firmware. In this case, you will need both Qt Libraries and Qt SDK.
In the meantime, you need to download Qt Libraries (and *NOT* Qt-SDK! Maddening, isn't it?).
Qt SDK is what you need if you plan on using the Qt GUI for doing GCS development, not simply for compiling GCS and/or OpenPilot firmware. In this case, you will need both Qt Libraries and Qt SDK.
#9
Posted 07 January 2012 - 03:18 AM
Kenn Sebesta, on 28 November 2011 - 09:40 PM, said:
Okay, fixed the Makefile and submitted patch: http://progress.open...g/browse/OP-605
In the meantime, you need to download Qt Libraries (and *NOT* Qt-SDK! Maddening, isn't it?).
Qt SDK is what you need if you plan on using the Qt GUI for doing GCS development, not simply for compiling GCS and/or OpenPilot firmware. In this case, you will need both Qt Libraries and Qt SDK.
In the meantime, you need to download Qt Libraries (and *NOT* Qt-SDK! Maddening, isn't it?).
Qt SDK is what you need if you plan on using the Qt GUI for doing GCS development, not simply for compiling GCS and/or OpenPilot firmware. In this case, you will need both Qt Libraries and Qt SDK.
Ken,
Also had qmake problem but solved it by reading the documentation more carefully
echo 'alias wget="curl -O"' >> ~/.bash_profile
Greg
... should have read your link - you fixed the wget issue already but it had not shown up in the documentation etc last night when I tried.
Edited by gke, 07 January 2012 - 03:20 AM.



Australia
United States
Luxembourg







