Google
 

1/9/09

Qt link error

I install Qt (4.4.3) version of dmg files and debug files (dmg file) the instalation is full. I type

qmake -project (create project.pro)
qmake (create project.xcodeproj)

I open xcodeproj file in xcode (version 2.2.1) and copile project. The stage of compiler is good but the stage of linking send me this error:

/usr/bin/ld: /Library/Frameworks/QtGui.framework/QtGui load command 6 unknown cmd field


/usr/bin/ld: /Library/Frameworks/QtCore.framework/QtCore load command 5 unknown cmd field

collect2: ld returned 1 exit status
---------------------------------------------------------------------------------------------------------
I solved this problem by upgrading my xcode to version 2.5. Now the program can be compiled.

1/5/09

Recover old version of Qt on Mac (Tiger)

I have problems with Qt 4.4 on my Mac (tiger) and I posted my questions. But so far no real solution yet. I want to switch back to Qt 4.3.4. But when I used the dmg file to install it, the computer says "there is nothing to install". How can I deal with this?

Navigate to /Library/Receipts, find the Reciept from the last time you used the package installer to install 4.3.4 (back before you had 4.4.0), and delete it/them. Looking at my machine, it looks like there might be several packages named something like Qt_libraries, Qt_docs, etc. The installer should be happy then. No guarantees as to how well this will actually work with the 4.4.0 install though. I THINK it should work.