Monday, August 6, 2012

Computer Science-Qt Updated

This is an update to what I wrote previously, I was confused on the installation of Qt.

After installing the QtSDK, cd into it
cd /filepath/to/QtSDK
run the SDK Maintenance tool via command line or through explorer window
Complete install(This will take a few hours)
This installation does not complete the installation of the particular version of Qt you want to run.
This now creates a QtSources folder it will have all the versions of Qt you have downloaded listed here. 
Example used version 4.8.1
cd /filepath/to/QtSDK/QtSources/4.8.1
http://qt-project.org/doc/qt-4.8/install-mac.html
follow the installation instructions
Now there is the appropriate configure file. 

./configure
make
sudo make install

Then set the environment variables, you must extend the path.
pico ~username/.bash_profile
PATH=$PATH:/usr/local/Trolltech/Qt-4.8.1/bin

Now the installation is complete when downloading from sdk.

No comments:

Post a Comment