[Qt-interest] lot of bugs identified (windows Qt code under Linux)
John McClurkin
jwm at nei.nih.gov
Thu Oct 22 13:42:21 CEST 2009
Yuvaraj R wrote:
> see Here i was got
>
> release/moc_timer.o release/moc_timer.cpp
>
> /opt/qtsdk-2009.04/qt/bin/rcc -name image image.qrc -o release/qrc_image.cpp
>
> RCC: Error in 'image.qrc': Cannot find file 'Icons/dialled.PNG'
>
> make[1]: Leaving directory `/home/ongobiz/Desktop/MaxxTel/away ,idel'
>
> make: Leaving directory `/home/ongobiz/Desktop/MaxxTel/away ,idel'
>
> make[1]: *** [release/qrc_image.cpp] Error 1
>
> make: *** [release] Error 2
>
> Exited with code 2.
>
> Error while building project status changed
>
> When executing build step 'Make'
>
>
>
> And i have attached my image.qrc file along with this mail
>
>
>
> Tanks
>
> Yuvaraj R
This is the beginning of your qrc file
> <RCC>
> <qresource prefix="/image" >
> <file>Icons/missed_call.PNG</file>
> <file>Icons/dialled.PNG</file>
Do you really have an image directory under the root directory? Perhaps
this should be
<qresource prefix="image" >
>
>
>
> On Thu, Oct 22, 2009 at 4:20 AM, <kai.koehne at nokia.com
> <mailto:kai.koehne at nokia.com>> wrote:
>
> qt-interest-bounces at trolltech.com
> <mailto: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