SamithChathuranga / qextserialport

Automatically exported from code.google.com/p/qextserialport
Other
0 stars 0 forks source link

qextserialport problem #176

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of QextSerialPort are you using?

1.2rc

What do you see instead?

1>qextserialenumerator_win.obj : error LNK2019: unresolved external symbol 
__imp__SetupDiGetDeviceRegistryPropertyW@28 referenced in function "class 
QString __cdecl getDeviceProperty(void *,struct _SP_DEVINFO_DATA *,unsigned 
long)" (?getDeviceProperty@@YA?AVQString@@PAXPAU_SP_DEVINFO_DATA@@K@Z)
1>qextserialenumerator_win.obj : error LNK2019: unresolved external symbol 
__imp__SetupDiOpenDevRegKey@24 referenced in function "bool __cdecl 
getDeviceDetailsWin(struct QextPortInfo *,void *,struct _SP_DEVINFO_DATA 
*,unsigned int)" 
(?getDeviceDetailsWin@@YA_NPAUQextPortInfo@@PAXPAU_SP_DEVINFO_DATA@@I@Z)
1>qextserialenumerator_win.obj : error LNK2019: unresolved external symbol 
__imp__SetupDiDestroyDeviceInfoList@4 referenced in function "public: bool 
__thiscall QextSerialEnumeratorPrivate::matchAndDispatchChangedDevice(class 
QString const &,struct _GUID const &,unsigned int)" 
(?matchAndDispatchChangedDevice@QextSerialEnumeratorPrivate@@QAE_NABVQString@@AB
U_GUID@@I@Z)
1>qextserialenumerator_win.obj : error LNK2019: unresolved external symbol 
__imp__SetupDiGetDeviceInstanceIdW@20 referenced in function "public: bool 
__thiscall QextSerialEnumeratorPrivate::matchAndDispatchChangedDevice(class 
QString const &,struct _GUID const &,unsigned int)" 
(?matchAndDispatchChangedDevice@QextSerialEnumeratorPrivate@@QAE_NABVQString@@AB
U_GUID@@I@Z)
1>qextserialenumerator_win.obj : error LNK2019: unresolved external symbol 
__imp__SetupDiEnumDeviceInfo@12 referenced in function "public: bool __thiscall 
QextSerialEnumeratorPrivate::matchAndDispatchChangedDevice(class QString const 
&,struct _GUID const &,unsigned int)" 
(?matchAndDispatchChangedDevice@QextSerialEnumeratorPrivate@@QAE_NABVQString@@AB
U_GUID@@I@Z)
1>qextserialenumerator_win.obj : error LNK2019: unresolved external symbol 
__imp__SetupDiGetClassDevsW@16 referenced in function "public: bool __thiscall 
QextSerialEnumeratorPrivate::matchAndDispatchChangedDevice(class QString const 
&,struct _GUID const &,unsigned int)" 
(?matchAndDispatchChangedDevice@QextSerialEnumeratorPrivate@@QAE_NABVQString@@AB
U_GUID@@I@Z)

What version of the product are you using? On what operating system?

compile on Qt5, vs2010(v100), Win7 32bit OS

Please provide any additional information below.

anyone has idea about above errors? THX

Original issue reported on code.google.com by kadeli...@gmail.com on 25 Jan 2014 at 3:23

GoogleCodeExporter commented 8 years ago
Hi, make sure that you have LIBS  += setupapi.lib in your project file.

Original comment by dbzhang...@gmail.com on 9 May 2014 at 7:56