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

Qt-interest Archive, March 2002
inconsistent dll linkage


Message 1 in thread

Hi,

I'm using the commercial version of Qt on Windows.  My installed Qt version 
is 2.2.4.  I've suddenly developed an odd problem. I'm hoping that someone 
here can help.  Most of my development work is being done on a RedHat 7.2 
box with Qt 2.3.x installed.  Periodically, I reboot into Windows to 
rebuild my application there.  In general, there are very few problems 
switching between the two operating systems.

Since my last build under Windows, I have added a new wizard widget to my 
application.  (Other than minor bug fixes there were no other modifications 
to the code.)  When I rebuilt my software, I suddenly got the errors shown 
below.  I don't have much experience with Windows programming, so I'm 
afraid that I don't really understand what the error messages are trying to 
tell me.  No project setting were changed in MS Visual C++ except to add 
the new wzmapfile.cpp, wzmapfile.h and moc_wzmapfile.cpp files to the 
project.

Any help will be greatly appreciated.


Fred Bacon


moc_wzmapfile.cpp
C:\qt\include\qstrlist.h(93) : warning C4273: '=' : inconsistent dll 
linkage.  dllexport assumed.
C:\qt\include\qstrlist.h(102) : warning C4273: 'QStrList::QStrList' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qmetaobject.h(237) : warning C4273: 'writable' : inconsistent 
dll linkage.  dllexport assumed.
C:\qt\include\qmetaobject.h(239) : warning C4273: 'writeable' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qmetaobject.h(241) : warning C4273: 'testFlags' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qmetaobject.h(243) : warning C4273: 'isValid' : inconsistent 
dll linkage.  dllexport assumed.
C:\qt\include\qmetaobject.h(245) : warning C4273: 'isSetType' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qmetaobject.h(247) : warning C4273: 'isEnumType' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qmetaobject.h(249) : warning C4273: 'designable' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qmetaobject.h(251) : warning C4273: 'setFlags' : inconsistent 
dll linkage.  dllexport assumed.
C:\qt\include\qmetaobject.h(253) : warning C4273: 'clearFlags' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qgdict.h(197) : warning C4273: 'get' : inconsistent dll 
linkage.  dllexport assumed.
C:\qt\include\qgdict.h(202) : warning C4273: 'getKeyString' : inconsistent 
dll linkage.  dllexport assumed.
C:\qt\include\qgdict.h(207) : warning C4273: 'getKeyAscii' : inconsistent 
dll linkage.  dllexport assumed.
C:\qt\include\qgdict.h(212) : warning C4273: 'getKeyInt' : inconsistent dll 
linkage.  dllexport assumed.
C:\qt\include\qgdict.h(217) : warning C4273: 'getKeyPtr' : inconsistent dll 
linkage.  dllexport assumed.
C:\qt\include\qapplication.h(329) : warning C4273: 'argc' : inconsistent 
dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(334) : warning C4273: 'argv' : inconsistent 
dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(339) : warning C4273: 'style' : inconsistent 
dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(345) : warning C4273: 'overrideCursor' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(350) : warning C4273: 'hasGlobalMouseTracking' 
: inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(355) : warning C4273: 'mainWidget' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(360) : warning C4273: 'focusWidget' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(365) : warning C4273: 'activeWindow' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(370) : warning C4273: 'widgetAt' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(375) : warning C4273: 'inPopupMode' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(380) : warning C4273: 'isSessionRestored' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(385) : warning C4273: 'sessionId' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(390) : warning C4273: 'globalStrut' : 
inconsistent dll linkage.  dllexport assumed.
C:\qt\include\qapplication.h(395) : warning C4273: 'sendEvent' : 
inconsistent dll linkage.  dllexport assumed.
wzmapfile.cpp
Linking...
.\Release\wzmapfile.obj : error : Internal error during ReadSymbolTable
  ExceptionCode            = C0000005
  ExceptionFlags           = 00000000
  ExceptionAddress         = 00462864
  NumberParameters         = 00000002
  ExceptionInformation[ 0] = 00000000
  ExceptionInformation[ 1] = 73724462
CONTEXT:
  Eax    = 3F353F35  Esp    = 0012F098
  Ebx    = FFFF8000  Ebp    = 01B3D298
  Ecx    = 38DF38DD  Esi    = 0228FFC0
  Edx    = 00503008  Edi    = 0228FFC0
  Eip    = 00462864  EFlags = 00010217
  SegCs  = 0000001B  SegDs  = 00000023
  SegSs  = 00000023  SegEs  = 00000023
  SegFs  = 00000038  SegGs  = 00000000
  Dr0    = 0012F098  Dr3    = FFFF8000
  Dr1    = 01B3D298  Dr6    = 38DF38DD
  Dr2    = 00000000  Dr7    = 00000000
Error executing link.exe.
Tool execution canceled by user.