Search found 7 matches

by xuetaowang
Tue Jan 25, 2011 3:46 am
Forum: Issues, bugs, etc.
Topic: compile error - "Ui" has not been declared [RESOLVED]
Replies: 11
Views: 20832

Re: compile error - "Ui" has not been declared

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/Tr...
by xuetaowang
Mon Jan 24, 2011 4:50 am
Forum: Issues, bugs, etc.
Topic: compile error - "Ui" has not been declared [RESOLVED]
Replies: 11
Views: 20832

Re: compile error - "Ui" has not been declared

The error is still here, but i rebuilt qt 4.6.2 used source "qt-everywhere-opensource-src-4.6.2.tar.gz" with the following command. 1/ ./configure 2/ make 3/ make install the installed default dir is "/usr/local/Trolltech/Qt-4.6.2" and it is the same as I put it in "Settings...
by xuetaowang
Sun Jan 23, 2011 7:48 pm
Forum: Issues, bugs, etc.
Topic: compile error - "Ui" has not been declared [RESOLVED]
Replies: 11
Views: 20832

Re: compile error - "Ui" has not been declared

My qt is 4.6.x and I installed it from the source, but before that I installed 4.5.x and also from ubuntu package, but never used Qt 3.x. Probably you are right,, anywhere let me clean up my Qt, and reconfigure and build ..., will let you know whether it works.

Many thanks.
by xuetaowang
Sun Jan 23, 2011 4:51 pm
Forum: Issues, bugs, etc.
Topic: compile error - "Ui" has not been declared [RESOLVED]
Replies: 11
Views: 20832

Re: compile error - "Ui" has not been declared

Again, if I use qmake create all ui_*.h files and then with those files replace empty files, during rebuild qCC I get another error please see below. ###################################################### ... ompiling: ccTwoColorsDlg.cpp Compiling: ccUnrollDlg.cpp Compiling: db_tree/ccDBRoot.cpp Com...
by xuetaowang
Sun Jan 23, 2011 3:17 pm
Forum: Issues, bugs, etc.
Topic: compile error - "Ui" has not been declared [RESOLVED]
Replies: 11
Views: 20832

Re: compile error - "Ui" has not been declared

Thanks for your reminder. All the file (ui_*.h) content are empty. some only contain the comment message see following: if I create the ui_alignDlg.h with uic directly and then replace empty one with new one, then the previous error gone. Right now we know that this compile error comes from all empt...
by xuetaowang
Sun Jan 23, 2011 4:34 am
Forum: Issues, bugs, etc.
Topic: compile error - "Ui" has not been declared [RESOLVED]
Replies: 11
Views: 20832

Re: compile error - "Ui" has not been declared

Daniel, Thanks for your help. 1/ I did saw the line 'qt-prebuild : found UICable file ui_templates/alignDlg.ui' (also, please see the all "build log" as following). 2/ "ui_templates" was in "search direction", and others three are (../CC/include, libs/CCFbo, and db). 3/...
by xuetaowang
Sat Jan 22, 2011 4:42 pm
Forum: Issues, bugs, etc.
Topic: compile error - "Ui" has not been declared [RESOLVED]
Replies: 11
Views: 20832

compile error - "Ui" has not been declared [RESOLVED]

Hello, I got the current source from svn "truck", and after I followed the instruction of "compilation_all_platforms_eng.txt" to compile with Code::Blocks (8.02), and it show me a lot of error start at "error, Ui has not been declared" at line "37 class ccAlignDlg ...