[Qt-interest] Qt-interest Digest, Vol 17, Issue 54

yogesh upreti yogesh.upreti at gmail.com
Fri Apr 9 11:27:53 CEST 2010


Hallo Andre,
I have some icons in my widgets(two buttons, 1 tree view), which are .gif
files.
I have Imported these gif to my resource file and I am accessing these
images from the resource.
Problem comes when I try to make an executable and run that executable in a
system which have no QT installed. when I run the executable, I can't see
the icons there.
I was trying to debug that, and I found out I need to specify to my
programme where to find plugin for .gif images. So I try to import these
plugin in my programme, and that where I encounter that error.

do you think is there any other way to either show the gif icon(somehow by
copying the gif file with code) or to specify gif plugins (*.dll) required
for my programme?


Date: Fri, 09 Apr 2010 11:05:45 +0200
From: Andre Somers <andre at familiesomers.nl>
Subject: Re: [Qt-interest] Qt-Creator problem : collect2: ld returned
To: Qt-interest <qt-interest at trolltech.com>
Message-ID: <4BBEEDE9.1000305 at familiesomers.nl>
Content-Type: text/plain; charset="iso-8859-1"

On 9-4-2010 10:56, yogesh upreti wrote:
> Hallo Robin,
> Thanks for reply.
> > Could you paste source and header e. g. to pastebin.com
> <http://pastebin.com>?
> I will do this by the evening today.
> But I am not sure that the problem is in the class because my
> programme runs fine when I remove, Q_IMPORT_PLUGIN(qjpeg)
> Q_IMPORT_PLUGIN(qgif) Q_IMPORT_PLUGIN(qtiff) statements from the code.
> it occurs only when I try to import plugins. Do you think I need to
> reinstall QT (I am using 4.6 currently, with Nokia QT-creator) ?
>
Is there a specific reason you use Q_IMPORT_PLUGIN? Do you have a static
Qt build?

Andre

On Fri, Apr 9, 2010 at 11:07 AM, <qt-interest-request at trolltech.com> wrote:

> Send Qt-interest mailing list submissions to
>        qt-interest at trolltech.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.trolltech.com/mailman/listinfo/qt-interest
> or, via email, send a message with subject or body 'help' to
>        qt-interest-request at trolltech.com
>
> You can reach the person managing the list at
>        qt-interest-owner at trolltech.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qt-interest digest..."
>
>
> Today's Topics:
>
>   1. Re: Qt for the iPad? (Andre Somers)
>   2. Re: Embedding a QLineEdit in QGraphicsWidget (Paul Drummond)
>   3. Re: Qt-Creator problem : collect2: ld returned (yogesh upreti)
>   4. QStateMachine: Jumping to a specific state (Paul Drummond)
>   5. Re: Qt-Creator problem : collect2: ld returned (Robin Krahl)
>   6. Re: Qt-Creator problem : collect2: ld returned (Andre Somers)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 09 Apr 2010 10:36:06 +0200
> From: Andre Somers <andre at familiesomers.nl>
> Subject: Re: [Qt-interest] Qt for the iPad?
> To: qt-interest at trolltech.com
> Message-ID: <4BBEE6F6.20104 at familiesomers.nl>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 9-4-2010 10:11, Oliver.Knoll at comit.ch wrote:
> > Werner Van Belle wrote on Friday, April 09, 2010 9:36 AM:
> >
> >
> >> ... Nowhere do I see
> >> this 'explicit prohibition' of yours ? Or is there something I don't
> >> understand here ?
> >>
> > "Applications that link to Documented APIs through an intermediary
> translation or compatibility layer or tool are prohibited."
> >
> > Your app: whatever
> > Compatibility layer: Qt
> >
> > So your app would not directly target the "Documented API" (but the Qt
> API instead) ->  Apple forbids this, at it seems.
> >
> > That is how I understand it.
> >
> > Cheers, Oliver
> >
>
> I would understand it like that as well, but the situation is not 100%
> clear. Would that separation still really be there if you'd link Qt
> statically in your app? I guess it depends how Apple interprets it's own
> rules. The problem is: Apple makes the rules as well as judges if apps
> fit them. If they do, but they don't want the apps to fit them, they
> simply change the rules.
>
> I understand that a firm like Nokia is not enthousiastic about investing
> into such an uncertain market where your whole investment could be wiped
> away by a third party at any time. I would not.
>
> I also agree with an earlier post that stated that you should not
> overestimate the usefulness of Qt on that platform. I think the UI
> warrants separate code on a platform like apples, but there may be a
> market for a solid base in terms of the core Qt, networking and similar
> API's. This would enable you to easily port over the core of an
> application, and develop a UI that really fits the platform on top of
> that. An intermidiary GUI layer like QtGUI is very nice on the desktop
> (and even there there are problems of fitting into the platform
> properly), but I think that on mobile devices, this gap is just a bit
> too wide. But perhaps the Trolls can amaze us all once again :-)
>
> Andr?
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 9 Apr 2010 09:48:15 +0100
> From: Paul Drummond <paul.drummond at iode.co.uk>
> Subject: Re: [Qt-interest] Embedding a QLineEdit in QGraphicsWidget
> To: qt-interest <qt-interest at trolltech.com>
> Message-ID:
>        <j2vbba7262d1004090148za8a85987h41bc240d5b196063 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I did look into QGraphicsProxyWidget but the documentation made me think I
> needed to get at the scene.  I should have just tried the obvious and
> created a QGraphicsProxyWidget and call setWidget on it before posting
> because I've just tried it now and it works!
>
> Thanks,
> Paul Drummond
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.trolltech.com/pipermail/qt-interest/attachments/20100409/bf3abfef/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Fri, 9 Apr 2010 10:56:44 +0200
> From: yogesh upreti <yogesh.upreti at gmail.com>
> Subject: Re: [Qt-interest] Qt-Creator problem : collect2: ld returned
> To: qt-interest at trolltech.com
> Message-ID:
>        <m2hf4c68ab91004090156rb6795be4pfdb5a8479b695f01 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hallo Robin,
> Thanks for reply.
> > Could you paste source and header e. g. to pastebin.com?
> I will do this by the evening today.
> But I am not sure that the problem is in the class because my programme
> runs
> fine when I remove, Q_IMPORT_PLUGIN(qjpeg) Q_IMPORT_PLUGIN(qgif)
> Q_IMPORT_PLUGIN(qtiff) statements from the code.
>
> it occurs only when I try to import plugins. Do you think I need to
> reinstall QT (I am using 4.6 currently, with Nokia QT-creator) ?
>
> Thanks
> Yogesh Upreti
>
>
> Date: Fri, 09 Apr 2010 00:06:29 +0200
> From: Robin Krahl <robin at rkrahl.de>
> Subject: Re: [Qt-interest] Qt-Creator problem : collect2: ld returned
>       1 exit status
> To: qt-interest at trolltech.com
> Message-ID: <4BBE5365.6040508 at rkrahl.de>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 08.04.2010 23:48, yogesh upreti wrote:
> > Can somebody help me with this ??
>
> I guess the error is located in your caeBrowser class. Could you paste
> source and header e. g. to pastebin.com? Thanks!
>
> --
> Robin Krahl <robin at rkrahl.de>
> http://rkrahl.de
>
> plain text & open source ftw!
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 286 bytes
> Desc: OpenPGP digital signature
> Url :
>
> http://lists.trolltech.com/pipermail/qt-interest/attachments/20100409/370ff595/attachment-0001.bin
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.trolltech.com/pipermail/qt-interest/attachments/20100409/8c854b7b/attachment-0001.html
>
> ------------------------------
>
> Message: 4
> Date: Fri, 9 Apr 2010 10:01:16 +0100
> From: Paul Drummond <paul.drummond at iode.co.uk>
> Subject: [Qt-interest] QStateMachine: Jumping to a specific state
> To: qt-interest <qt-interest at trolltech.com>
> Message-ID:
>        <r2kbba7262d1004090201g3491998fp959695c82a4c6415 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> Is there a way to jump to a specific state in Qt?
>
> In QML I can do this easily because states have identity and I can just say
> state = "newState".  How does that map to Qt/C++?
>
> Regards,
> Paul Drummond
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.trolltech.com/pipermail/qt-interest/attachments/20100409/63944de8/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Fri, 09 Apr 2010 11:03:20 +0200
> From: Robin Krahl <robin at rkrahl.de>
> Subject: Re: [Qt-interest] Qt-Creator problem : collect2: ld returned
> To: qt-interest at trolltech.com
> Message-ID: <4BBEED58.4050703 at rkrahl.de>
> Content-Type: text/plain; charset="windows-1252"
>
> On 09.04.2010 10:56, yogesh upreti wrote:
> >> Could you paste source and header e. g. to pastebin.com?
> > I will do this by the evening today.
> > But I am not sure that the problem is in the class because my programme
> runs
> > fine when I remove, Q_IMPORT_PLUGIN(qjpeg) Q_IMPORT_PLUGIN(qgif)
> > Q_IMPORT_PLUGIN(qtiff) statements from the code.
>
> Hm, ok; then you don?t have to paste the code. Unfortunately, I don?t
> know about Qt Plugins, so I can?t help you. :-/
>
> Regards,
> Robin
>
> --
> Robin Krahl <robin at rkrahl.de>
> http://rkrahl.de
>
> plain text & open source ftw!
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 286 bytes
> Desc: OpenPGP digital signature
> Url :
> http://lists.trolltech.com/pipermail/qt-interest/attachments/20100409/098fa0c9/attachment-0001.bin
>
> ------------------------------
>
> Message: 6
> Date: Fri, 09 Apr 2010 11:05:45 +0200
> From: Andre Somers <andre at familiesomers.nl>
> Subject: Re: [Qt-interest] Qt-Creator problem : collect2: ld returned
> To: Qt-interest <qt-interest at trolltech.com>
> Message-ID: <4BBEEDE9.1000305 at familiesomers.nl>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 9-4-2010 10:56, yogesh upreti wrote:
> > Hallo Robin,
> > Thanks for reply.
> > > Could you paste source and header e. g. to pastebin.com
> > <http://pastebin.com>?
> > I will do this by the evening today.
> > But I am not sure that the problem is in the class because my
> > programme runs fine when I remove, Q_IMPORT_PLUGIN(qjpeg)
> > Q_IMPORT_PLUGIN(qgif) Q_IMPORT_PLUGIN(qtiff) statements from the code.
> > it occurs only when I try to import plugins. Do you think I need to
> > reinstall QT (I am using 4.6 currently, with Nokia QT-creator) ?
> >
> Is there a specific reason you use Q_IMPORT_PLUGIN? Do you have a static
> Qt build?
>
> Andr?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.trolltech.com/pipermail/qt-interest/attachments/20100409/2e7327bc/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
> End of Qt-interest Digest, Vol 17, Issue 54
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100409/3656c933/attachment.html 


More information about the Qt-interest-old mailing list