[Qt-interest] lot of bugs identified (windows Qt code under Linux)

kai.koehne at nokia.com kai.koehne at nokia.com
Thu Oct 22 10:20:27 CEST 2009


qt-interest-bounces at trolltech.com wrote:
> Hi All
> 
> I am using Qt along wqith Pjsip
> 
>  My application is working under windows with out any issue.
> 
> I complied same code under Linux. But i got lot of bugs.I had
> image rc file  which contains png format images.. it showed
> some images can not find under linux.
> 
> why i got this error.. is it depend on image size ?

No, definitely not. It would help us if you could post the exact 'bug' you got, or describe exactly what the error is. Also, please tell us with what version of qt you are working, and if you compiled it on your own or not.

Just a wild guess: Pngs under Linux are not loaded/shown in your program at runtime because you didn't compile the png plugin, or it couldn't be loaded.

> And i used C files( Pjsip used C language )
> 
> In linux i got error as undefined reference..

Again, please tell us how the exact error output is. It might help to post (relevant sections of) your pro file + the commands executed before the linking error.

Also, it looks like the two issues you are describing are unrelated. You might get more attention if you start a new mail for each of them, and with a descriptive e-mail Subject.

> Is any difference between linux and windows while using extern
> keyword of C/C++ ? 

Not that I'm aware of.

Kai

-- 
Kai Köhne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori



More information about the Qt-interest-old mailing list