Hi Kornel, I checked the installation log of my Qt 5.0.2, I searched for "moc", "uic", and "rcc", and it seems I did have installed them:
Relocator calling otool -l for "/Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin/moc" END - Relocator calling otool -l for "/Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin/moc" Got the following information(fileName: /Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin/moc, frameworkId: , frameworks: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices|/usr/lib/libz.1.dylib|/usr/lib/libstdc++.6.dylib|/usr/lib/libSystem.B.dylib|/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation,orginalBuildDir: ) Relocator calling otool -l for "/Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin/* rcc*" END - Relocator calling otool -l for "/Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin/*rcc*" Got the following information(fileName: /Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin/*rcc*, frameworkId: , frameworks: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices|/usr/lib/libz.1.dylib|/usr/lib/libstdc++.6.dylib|/usr/lib/libSystem.B.dylib|/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation,orginalBuildDir: ) Relocator calling otool -l for "/Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin/syncqt" END - Relocator calling otool -l for "/Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin/syncqt" Got the following information(fileName: /Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin/syncqt, frameworkId: , frameworks: ,orginalBuildDir: ) Relocator calling otool -l for "/Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin/* uic*" END - Relocator calling otool -l for "/Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin/*uic*" Got the following information(fileName: /Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin/*uic*, frameworkId: , frameworks: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices|/usr/lib/libz.1.dylib|/usr/lib/libstdc++.6.dylib|/usr/lib/libSystem.B.dylib|/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation,orginalBuildDir: ) I ran CMake again and it said uic, moc, and rcc not found. So I installed Macports, installed qt4-mac (I tried to install qt4-mac-devel, but it said "this port has been temporarily replaced by 'qt4-mac'; it will be updated to 5.0 beta or a release candidate hopefully soon." So I typed in "sudo port install qt4-mac" and it seemed to be installed. I ran QCreator and ran CMake and it still said moc, uic and rcc not found. I'm so confused... Ashley ------------------------------------ *Xueqing Shan* Vanderbilt University, '16 On Fri, Apr 26, 2013 at 10:48 AM, Kornel Benko <kor...@lyx.org> wrote: > ** > > Am Freitag, 26. April 2013 um 09:56:59, schrieb Ashley Shan < > xueqing.s...@vanderbilt.edu> > > > Hi Kornel and Alex, > > > > > > Thank you for your help. The thing is I think I have installed > everything I > > > need but it still reports can't find library. So I first installed Qt > > > 5.0.2, which says that it will install both the libraries and the > creator ( > > > http://qt-project.org/downloads => Qt 5.0.2 for Mac). I ran CMake (the > > > first time it worked) but I couldn't compile the file (but I forgot the > > > error message was). Then I closed and reopened and tried to run CMake and > > > saw the error messages. I thought I missed some libraries, but I was > > > confused because the libraries should be included in the package. I still > > > downloaded Qt 4.8.4 libraries and installed, and the error message is > still > > > there. > > > > I was not saying, you had not installed Qt (which you apparently did), but > that you did not install Qt-devel. > > (The name of this package may be different on MAC, on ubuntu it is e.g. > libqt4-dev) > > > > > I'm a very inexperienced programmer and this is the first time I use Qt. > So > > > please forgive me if I made some silly mistakes. > > > > No problem, but since I do not own a MAC, I can't help enough. > > Quick google for > > qt4 devel mac > > gives some answers though. (A candidate would be qt4-mac-devel, don't know) > > > > > Ashley > > > > Kornel >