[izpack-users] qmake

Ezequias Rodrigues da Rocha ezequias at recife.pe.gov.br
Tue Jan 10 13:59:57 CET 2006


Julien,

I believe in you but when I try to use the command make the IzPack 
return many error messages like this:

Makefile:159: aviso: impondo comandos para o alvo `moc_resolve-dialog.cpp'
Makefile:156: aviso: ignorando comandos antigos para o alvo 
`moc_resolve-dialog.cpp'
g++ -c -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables 
-DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT 
-I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/lib/qt-3.3/include -o 
main.o main.cpp
main.cpp:27:24: error: QApplication: Arquivo ou diretório não encontrado
main.cpp:28:23: error: QMessageBox: Arquivo ou diretório não encontrado
main.cpp:29:23: error: QFileDialog: Arquivo ou diretório não encontrado
main.cpp:30:23: error: QTranslator: Arquivo ou diretório não encontrado
main.cpp:31:19: error: QLocale: Arquivo ou diretório não encontrado
In file included from main.cpp:33:
launcher.h:30:19: error: QString: Arquivo ou diretório não encontrado
launcher.h:31:21: error: QSettings: Arquivo ou diretório não encontrado
launcher.h:32:20: error: QProcess: Arquivo ou diretório não encontrado
launcher.h:33:17: error: QFile: Arquivo ou diretório não encontrado
launcher.h:34:23: error: QStringList: Arquivo ou diretório não encontrado
In file included from main.cpp:34:
resolve-dialog.h:30:19: error: QDialog: Arquivo ou diretório não encontrado
resolve-dialog.h:33:31: error: ui_resolve-dialog.h: Arquivo ou diretório 
não encontrado
launcher.h:41: error: ‘QString’ does not name a type
launcher.h:43: error: ‘QString’ does not name a type
launcher.h:45: error: ‘QString’ does not name a type
launcher.h:47: error: ‘QString’ does not name a type
launcher.h:57: error: expected ‘,’ or ‘...’ before ‘&’ token
launcher.h:57: error: ISO C++ forbids declaration of ‘QString’ with no type
launcher.h:63: error: ‘QString’ does not name a type
launcher.h: In member function ‘bool Launcher::isJREProvided() const’:
launcher.h:70: error: ‘jre’ was not declared in this scope
resolve-dialog.h: At global scope:
resolve-dialog.h:43: error: expected class-name before ‘{’ token
resolve-dialog.h:44: error: ISO C++ forbids declaration of ‘Q_OBJECT’ 
with no type
resolve-dialog.h:46: error: expected ‘;’ before ‘private’
resolve-dialog.h:52: error: expected `)' before ‘*’ token
resolve-dialog.h: In member function ‘void 
ResolveDialog::disableProvidedRadio()’:
resolve-dialog.h:58: error: ‘ui’ was not declared in this scope
main.cpp: In function ‘void show_launch_error_message()’:
main.cpp:41: error: ‘QMessageBox’ has not been declared
main.cpp:41: error: ‘QT_TR_NOOP’ was not declared in this scope
main.cpp:42: error: ‘critical’ was not declared in this scope
main.cpp: In function ‘int main(int, char**)’:
main.cpp:47: error: ‘QApplication’ was not declared in this scope
main.cpp:47: error: expected `;' before ‘app’
main.cpp:49: error: ‘QString’ was not declared in this scope
main.cpp:49: error: expected `;' before ‘locale’
main.cpp:50: error: ‘QTranslator’ was not declared in this scope
main.cpp:50: error: expected `;' before ‘translator’
main.cpp:51: error: ‘translator’ was not declared in this scope
main.cpp:51: error: expected primary-expression before ‘)’ token
main.cpp:52: error: ‘app’ was not declared in this scope
main.cpp:71: error: ‘class ResolveDialog’ has no member named ‘exec’
main.cpp:71: error: ‘QDialog’ has not been declared
main.cpp:71: error: ‘Accepted’ was not declared in this scope
main.cpp:78: error: ‘QFileDialog’ has not been declared
main.cpp:79: error: ‘QT_TR_NOOP’ was not declared in this scope
main.cpp:79: error: ‘getOpenFileName’ was not declared in this scope
main.cpp:89: error: ‘QMessageBox’ has not been declared
main.cpp:89: error: ‘QT_TR_NOOP’ was not declared in this scope
main.cpp:90: error: ‘critical’ was not declared in this scope
main.cpp: At global scope:
main.cpp:45: warning: unused parameter ‘argc’
main.cpp:45: warning: unused parameter ‘argv’
make: ** [main.o] Erro 1


Sincerely
Eze

Julien Ponge escreveu:
> Don't worry about this warning, I think I have it anytime with Qt4.
>
>> I am trying to do a qmake on the src folder but it reports:
>>
>> [ezequias at dc src]$ qmake
>> WARNING: Found potential symbol conflict of resolve-dialog.cpp 
>> (resolve-dialog.cpp) in SOURCES
>> WARNING: Found potential symbol conflict of resolve-dialog.h 
>> (resolve-dialog.h) in HEADERS
>>
>> Could someone help me with this problem ?
>>
>>
>> Sincerely
>> Ezequias
>> _______________________________________________
>> izpack-users mailing list
>> izpack-users at lists.berlios.de
>> http://lists.berlios.de/mailman/listinfo/izpack-users
>
>
> -- 
> Julien Ponge
> http://www.izforge.com/
> GnuPG ID: 0xCD9DE030
>
>
>
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/izpack-users
>

-- 
Ezequias Rodrigues da Rocha
http://ezequiasrocha.blogspot.com
msn:ezequias at hotmail.com
"the worst of democracies is still better than the best of dictatorship"




More information about the izpack-users mailing list