[Qt-interest] SPAM-LOW: Re: QT 4.5 OS X Compile errors
Jason Kolbenheyer
jason at dropdeadcreative.com
Thu Sep 24 02:05:12 CEST 2009
I'm not sure yet, if this will work with our application. I need to
wait to hear back from my associate. Is there any way though, to get
the build installed in usr/local/Trolltech ?
This is how the app was previously linking to version 4.4, so I'd
like to keep the set up the same. If i try "sudo make install" after
building via your ./configure settings, I arrive at:
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccOJP4C8.out (No such file or
directory)
make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant]
Error 1
make[3]: *** [sub-assistant-install_subtargets-ordered] Error 2
make[2]: *** [sub-tools-install_subtargets-ordered] Error 2
make[1]: *** [sub-assistant-install_subtargets-ordered] Error 2
make: *** [sub-tools-install_subtargets-ordered] Error 2
if we "bin/qmake && make sub-src" why is it trying to install this
assistant tool?
I had this same problem with 4.4, then my associate built QT 4.4 with
no problem on my machine, only problem is I don't know how he did it :)
Any assistance is greatly appreciated. Again my goal is to get QT
built and installed in the default location so that we can link to
the libs when building our app.
-jason
On Sep 23, 2009, at 5:13 PM, Alessandro Portale wrote:
Jason Kolbenheyer schrieb:
> ok so using your method, it compiled, thanks!
>
> Now I would normally "sudo make install" to get the libs to install
> here: usr/local/Trolltech/QT4.5
>
> But you're saying not to do this? How would I then build my
> application?
I would now cd into your applications source directory and:
<pathWhereQtWasBuilt>/bin/qmake && make
Or use QtCreator and add <pathWhereQtWasBuilt> as a Qt version and press
the build button.
> output after "bin/qmake && make sub-src ":
>
> make -f Makefile.Release
> g++ -c -pipe -fno-exceptions -Os -Wall -W -fvisibility=hidden
> -fvisibility-inlines-hidden -arch ppc -arch i386 -fPIC -fPIC
> -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF
> ...
> rm -f ../../../../plugins/codecs/libqkrcodecs.a
> mv -f libqkrcodecs.a ../../../../plugins/codecs/
> cd graphicssystems/ && make -f Makefile
> make[2]: Nothing to be done for `first'.
...I think that went well. Cryptic messages, but no error.
Alessandro
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list