[Qt-interest] "not of required architecture" error message on my own static library

Srdjan Todorovic todorovic.s at googlemail.com
Wed Sep 9 11:49:43 CEST 2009


Hi,

On 08/09/2009, Warren <warren at wantonhubris.com> wrote:
>
> Thanks for the reply but I don't understand why the two projects are
> compiling to different architectures.  What is it in the .PRO files
> that I have set up wrong?  They are very basic projects at the moment
> (I'm just trying to learn QT at the moment).

I too read Mike's reply and got initially confused.

I think what he was saying is that:

  Your library: 32bit x86
  Your app    : 32bit x86
  Qt              : 64bit (x86?)

So when you link all three, there is an incompatibility.
You would have to compile Qt for 32bit for this project.

Mike, did I understand you correctly?

Regards,
Srdjan



More information about the Qt-interest-old mailing list