Dear all.
Goolging I have found this entry in a forum:
http://www.qtfr.org/viewtopic.php?id=12475
So I have defined QT_ARCH_WINDOWS for my project and it compiles and links
correctly!

My doubt is: Why is this define needed for my project? I have worked
previously with QT and I had never needed this.

Thanks in advance!

2015-06-01 13:10 GMT+02:00 Soraya Santana de la Fe <
[email protected]>:

> Thanks for your answers!
>
> All those Link errors I reported are found when using a Q_OBJECT macro in
> my classes. No idea what is happening, even installing using a qt installer
> I am getting the same errors so it is not comming from my qt compilation.
>
>
> Should I check/set any environment variable. I have also tested setting
> QMAKESPEC to win32-msvc2008 explicitly but nothing works.
>
>
> Thankyou all!
>
> 2015-05-29 16:53 GMT+02:00 Thiago Macieira <[email protected]>:
>
>> On Friday 29 May 2015 10:55:40 Soraya Santana de la Fe wrote:
>> > xx.obj : error LNK2019: unresolved external symbol
>> > __imp__q_atomic_increment referenced in function ...
>> > yy.obj : error LNK2001: unresolved external symbol
>> __imp__q_atomic_increment
>> > xx.obj : error LNK2019: unresolved external symbol
>> > __imp__q_atomic_decrement referenced in function "public: __thiscall ...
>> > yy.obj : error LNK2001: unresolved external symbol
>> __imp__q_atomic_decrement
>> >
>> > It seems that something is not being exported or not compiled for my
>> > windows platform. Any ideas would be really appreciated.
>>
>> Find out why this function was called in the first place. Nothing should
>> try to
>> call it at all on Windows, much less with MSVC.
>> --
>> Thiago Macieira - thiago.macieira (AT) intel.com
>>   Software Architect - Intel Open Source Technology Center
>>
>> _______________________________________________
>> Development mailing list
>> [email protected]
>> http://lists.qt-project.org/mailman/listinfo/development
>>
>
>
>
> --
> Soraya Santana de la Fe
>
>
>


-- 
Soraya Santana de la Fe
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to