Re: compile error - "Ui" has not been declared
Posted: Tue Jan 25, 2011 3:46 am
Hi Daniel,
Eventually it can be built. (but didn't figure out why code::block call uic3 first. I can run other project using qmake directly and this thing never happen)
1) removed /usr/bin/uic-qt3 and /usr/bin/uic3, and uninstall qt3-dev-tools package
(in .bashrc It is set before)
PATH=/usr/local/Trolltech/Qt-4.6.2/bin:$PATH
export PATH
2) deleted all previous moc_*.cpp and ui_*.h
I have two more question:
1) Could you let me know how I can run it (or where I can find the instruction--English).(If i click "run" in build tool bar, following message dialog is pop up)
"It seems that this project has not been built yet.
Do you want to build it now?"
2)When i work other qt project (either Windows or Linux) i use nmake or/ make disclean can clean up moc or ui.h file. But in the cloudcompare project i didn't find .pro file. How code::block use qmake to build it? Can I use qmake directly build cloudcompare.
Thank you very much for your help.
Xuetao
Eventually it can be built. (but didn't figure out why code::block call uic3 first. I can run other project using qmake directly and this thing never happen)
1) removed /usr/bin/uic-qt3 and /usr/bin/uic3, and uninstall qt3-dev-tools package
(in .bashrc It is set before)
PATH=/usr/local/Trolltech/Qt-4.6.2/bin:$PATH
export PATH
2) deleted all previous moc_*.cpp and ui_*.h
I have two more question:
1) Could you let me know how I can run it (or where I can find the instruction--English).(If i click "run" in build tool bar, following message dialog is pop up)
"It seems that this project has not been built yet.
Do you want to build it now?"
2)When i work other qt project (either Windows or Linux) i use nmake or/ make disclean can clean up moc or ui.h file. But in the cloudcompare project i didn't find .pro file. How code::block use qmake to build it? Can I use qmake directly build cloudcompare.
Thank you very much for your help.
Xuetao