 |
 |
Qt-Library not running...
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2004
Status:
Offline
|
|
Can anybody tell me how to build the Qt-Library?
I installed it via the Qt-Installer availlable on the versiontracker-hp. But I am not able to build executables.
Qt-Designer is running, but everytime I want to build one of the tutorials, there are Errors executing 'make' in the terminal.
Could it be my Compilers are not yet linked to Qt???
How do I fix this?
Thanks...
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Mar 2000
Location: A drip off Lake Michigan
Status:
Offline
|
|
I had successfully installed a previous version by compiling from source (I might have been using 10.2.8 ... or one of the earlier incarnations of Panther, but I had to reinstall for some reason, so my QT was lost), but the latest won't compile. This article says how to do it, but the author loses me in delivering the solution.
http://www.osnews.com/story.php?news_id=3929
I then tried to install the binaries, same as you, and get the same problem compliling apps.
Maybe you can decipher the solution above and get it running from source. When I compiled it before, I let it go overnight.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Mar 2003
Location: Globetrotting
Status:
Offline
|
|
I've built everything from source, can compile and run in the shell, and had QT generate xcode projects where I could build and debug using the xcode UI. I don't have my mac handy but following the INSTALL file closely worked for me. The big key was creating the symlinks where they're suppose to be with the right name.
I'll try to write up a how to, to include xcode incorporation, as QT doesn't have a debugger and DDD is a PoS on the Mac.
|
|
If a group of mimes are miming a forest and one falls down, does he make a sound?
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Mar 2000
Location: A drip off Lake Michigan
Status:
Offline
|
|
That would be really cool. Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Mar 2003
Location: Globetrotting
Status:
Offline
|
|
Sorry it’s been quite a while since I did this and I can’t remember many of the details.
Getting QT to compile and run on the Mac
First off just follow the INSTALL file’s directions closely. It is most important to do you symlinks.
ln -sf $QTDIR/lib/libqt.3.dylib /usr/lib
ln -sf $QTDIR/lib/libqui.1.dylib /usr/lib
or if not an Admin
ln -sf $QTDIR/lib/libqt.3.dylib $HOME/lib
ln -sf $QTDIR/lib/libqui.1.dylib $HOME/lib
Have QT generate xcode projects and compile and debug in xcode.
Create a project in QT designer and do whatever development you want on top of it.
Set your mkspecs to macx-g++.
Typing qmake –project (where project is the name of your project)
Then qmake should create a .xcode (or old pbuilder project)
Open the project in xcode (and covert pbuilder project if asked)
Note - I thought I had to tell xcode how to compile .ui.h files but couldn’t find the setting. Just make sure to add /mkspecs/macx-g++ to your include path and try to compile and run/debug.
(Last edited by Crusoe; Jun 21, 2004 at 01:09 AM.
)
|
|
If a group of mimes are miming a forest and one falls down, does he make a sound?
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |