Thank you for your help. Yes I think I might be mixing Qt4 with Qt5. Should I just uninstall everything regarding Qt but preserving cmake and reinstall Qt4?
------------------------------------ *Xueqing Shan* Vanderbilt University, '16 On Sun, Apr 28, 2013 at 3:43 PM, Stephan Witt <st.w...@gmx.net> wrote: > Am 28.04.2013 um 22:05 schrieb Vincent van Ravesteijn <v...@lyx.org>: > > > Op 28-4-2013 22:02, Ashley Shan schreef: > >> Hi Stephen, thank you for replying. Here's what I did. Kornel said > maybe I didn't install the development tool, so I checked: > >> > >> 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. > >> > >> Kornel suggests me to take a look at FindQt4.cmake but I didn't dare to > insert anything because I'm worried about what if I changed something > important the entire program would crash… > > You don't have the Qt binaries in /usr/bin? > Then you may try to add /Users/Ashley/Qt5.0.2/5.0.2/clang_64/bin to your > PATH variable. > > >> > > Aren't you now mixing up Qt5 and Qt4 ? That's not a good idea. > > > > Moreover, I don't know how much LyX is tested on Mac with Qt5 .. > > I can compile and run LyX with Qt5. But it's not better than Qt4 for LyX. > So I don't recommend it's use ATM. All in all it's a .0 version :) > > Stephan >