Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, April 2008
Binary problem with Qt4.4 and MSVC2008 express


Message 1 in thread

Hello,

I compiled Qt4.4 with MSVC2008 express and it worked fine up until now.
My program compiles well in debug and release mode and is working fine
in debug mode. But recently, it does not work anymore in Release mode;
instead I have an error message saying that
?deref@QBasicAtomicInt@@QAE_NXZ is missing in 'QtCore4.dll'. Any idea?

Thanks in advance,
Abdel.

---------------------------
lyx.exe - Point d'entrée introuvable
---------------------------
Le point d'entrée de procédure ?deref@QBasicAtomicInt@@QAE_NXZ est
introuvable dans la bibliothèque de liens dynamiques QtCore4.dll.
---------------------------
OK
---------------------------

--
 [ signature omitted ] 

Message 2 in thread

Hi,

this may happen if you don't have the Qt dlls next to your application 
and older Qt dlls (maybe from another application) in any path defined 
by your PATH environment variable.

Alessandro

Abdelrazak Younes wrote:
> Hello,
> 
> I compiled Qt4.4 with MSVC2008 express and it worked fine up until now.
> My program compiles well in debug and release mode and is working fine
> in debug mode. But recently, it does not work anymore in Release mode;
> instead I have an error message saying that
> ?deref@QBasicAtomicInt@@QAE_NXZ is missing in 'QtCore4.dll'. Any idea?
> 
> Thanks in advance,
> Abdel.

--
 [ signature omitted ] 

Message 3 in thread

Alessandro Portale wrote:
> Hi,
> 
> this may happen if you don't have the Qt dlls next to your application 
> and older Qt dlls (maybe from another application) in any path defined 
> by your PATH environment variable.

There are indeed some other version of the library in other directories 
but none of them are in my path... weird. I'll try to erase them and see 
if it makes a difference.

Thanks.

Abdel.

--
 [ signature omitted ] 

Message 4 in thread

Abdelrazak Younes wrote:
> Alessandro Portale wrote:
>> Hi,
>>
>> this may happen if you don't have the Qt dlls next to your application 
>> and older Qt dlls (maybe from another application) in any path defined 
>> by your PATH environment variable.
> 
> There are indeed some other version of the library in other directories 
> but none of them are in my path... weird. I'll try to erase them and see 
> if it makes a difference.

It did that, made an extensive search on my hard drive, regenerated the 
makefiles and still, no difference. Any other idea?

Abdel.

--
 [ signature omitted ] 

Message 5 in thread

On Thursday 24 April 2008 14:35:31 Abdelrazak Younes wrote:
> Hello,
>
> I compiled Qt4.4 with MSVC2008 express and it worked fine up until now.
> My program compiles well in debug and release mode and is working fine
> in debug mode. But recently, it does not work anymore in Release mode;
> instead I have an error message saying that
> ?deref@QBasicAtomicInt@@QAE_NXZ is missing in 'QtCore4.dll'. Any idea?
>
> Thanks in advance,
> Abdel.

QBasicAtomicInt is a new public class in 4.4 and is different then the private 
class that was in 4.3.  If you used the version in 4.3 (which was bic) you 
had to include one of the "this file *will* change" foo_p.h headers. :)

-Benjamin Meyer

--
 [ signature omitted ] 

Message 6 in thread

Benjamin Meyer wrote:
> On Thursday 24 April 2008 14:35:31 Abdelrazak Younes wrote:
>> Hello,
>>
>> I compiled Qt4.4 with MSVC2008 express and it worked fine up until now.
>> My program compiles well in debug and release mode and is working fine
>> in debug mode. But recently, it does not work anymore in Release mode;
>> instead I have an error message saying that
>> ?deref@QBasicAtomicInt@@QAE_NXZ is missing in 'QtCore4.dll'. Any idea?
>>
>> Thanks in advance,
>> Abdel.
> 
> QBasicAtomicInt is a new public class in 4.4 and is different then the private 
> class that was in 4.3.  If you used the version in 4.3 (which was bic) you 
> had to include one of the "this file *will* change" foo_p.h headers. :)

No, we don't (and didn't) use anything related to QBasicAtomicInt in our 
source... I am lost.

Thanks anyway,
Abdel.

--
 [ signature omitted ]