[Gulli] Qt e compilazione per windows

Alberto Cortesi cortesialberto@tiscali.it
Gio 10 Apr 2008 16:19:43 CEST


Quesitone:

ho un semplice programmino scritto con qt3, l'ho aggiornato e 
ricompilato con Qt4.3.3, in linux compila alla grande e funziona, in 
windows mi da errori di sintassi nel main.cpp... e non crea l'eseguibile...

In windows ho la stessa versione di Qt e l'ultimo MinGW....

Ho compilato altri programmi qt sotto windows, anche molto complessi, e 
funzionano! Quello no!
È ovvio che non sono un esperto di programmazione qt per windows, ma 
questo mi lascia perplesso??????

Non avrei mai provato a compilarlo per win, ma un amico windowsiano 
vorrebbe usare quel programmino, quindi (sono c..i mie!)!


Sai qualcosa a riguardo???

Di seguito alcuni degli innumerevoli errori riportati dal compilatore win

##############################################
balisticus.h:947: error: `blindato_rb' undeclared (first use this function)
balisticus.h:949: error: `piombo_rb' undeclared (first use this function)
balisticus.h:951: error: `piombowc_rb' undeclared (first use this function)
balisticus.h:990: error: `abete_rb' undeclared (first use this function)
balisticus.h:992: error: `ferro_rb' undeclared (first use this function)
balisticus.h:994: error: `osso_rb' undeclared (first use this function)
balisticus.h:996: error: `tessuti_rb' undeclared (first use this function)
balisticus.h:1005: error: `penetraz_le' undeclared (first use this function)
balisticus.h:1010: error: `volcavita_le' undeclared (first use this 
function)
balisticus.h:1016: error: `vellimite_le' undeclared (first use this 
function)
balisticus.h:1021: error: `velresferro_rb' undeclared (first use this 
function
balisticus.h:1023: error: `spessferro_le' undeclared (first use this 
function)
balisticus.h:1029: error: `msec_le' undeclared (first use this function)
balisticus.h:1033: error: `fsec_le' undeclared (first use this function)
balisticus.h:1039: error: `velreslegno_rb' undeclared (first use this 
function
balisticus.h:1041: error: `spesslegno_le' undeclared (first use this 
function)
balisticus.h:1056: error: `velnota_le' undeclared (first use this function)
balisticus.h:1060: error: `fsec_cb' undeclared (first use this function)
balisticus.h:1065: error: `percorso_le' undeclared (first use this function)
balisticus.h:1070: error: `pesocarica_le' undeclared (first use this 
function)
balisticus.h:1074: error: `grammi2_rb' undeclared (first use this function)
balisticus.h:1080: error: `percnuovo_le' undeclared (first use this 
function)
balisticus.h:1085: error: `velnuova_le' undeclared (first use this function)
balisticus.h:1092: error: invalid use of `this' in non-member function
balisticus.h:1093: error: `statusBar' undeclared (first use this function)

###############################################


Ripeto, in Linux questi sorgenti compilano e funzionano!

Non è vitale, ma a questo punto sono curioso di capire e riuscire!

Alberto





Maggiori informazioni sulla lista Gulli