sumitmak86
7th September 2012, 08:26
hii
i am trying to use qextserialport in Qt. i have downloaded the library from sourceforge.net ("http://sourceforge.net/projects/qextserialport/")
then i open the qextserialport.pro in qt creator and after running it ,qt creator give some error as follows
1.qextserialenumerator.obj:-1: error: LNK2019: unresolved external symbol __imp__RegQueryValueExW@24 referenced in function "private: static class QString __cdecl QextSerialEnumerator::getRegKeyValue(struct HKEY__ *,unsigned short const *)" (?getRegKeyValue@QextSerialEnumerator@@CA?AVQStrin g@@PAUHKEY__@@PBG@Z)
2.qextserialenumerator.obj:-1: error: LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function "private: static void __cdecl QextSerialEnumerator::setupAPIScan(class QList<struct QextPortInfo> &)" (?setupAPIScan@QextSerialEnumerator@@CAXAAV?$QList @UQextPortInfo@@@@@Z)
3.build\qextserialportd.dll:-1: error: LNK1120: 2 unresolved externals
i am using Qt4.8.2 on windows 7
please guide me how to use qextserialport lib
Thanks
i am trying to use qextserialport in Qt. i have downloaded the library from sourceforge.net ("http://sourceforge.net/projects/qextserialport/")
then i open the qextserialport.pro in qt creator and after running it ,qt creator give some error as follows
1.qextserialenumerator.obj:-1: error: LNK2019: unresolved external symbol __imp__RegQueryValueExW@24 referenced in function "private: static class QString __cdecl QextSerialEnumerator::getRegKeyValue(struct HKEY__ *,unsigned short const *)" (?getRegKeyValue@QextSerialEnumerator@@CA?AVQStrin g@@PAUHKEY__@@PBG@Z)
2.qextserialenumerator.obj:-1: error: LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function "private: static void __cdecl QextSerialEnumerator::setupAPIScan(class QList<struct QextPortInfo> &)" (?setupAPIScan@QextSerialEnumerator@@CAXAAV?$QList @UQextPortInfo@@@@@Z)
3.build\qextserialportd.dll:-1: error: LNK1120: 2 unresolved externals
i am using Qt4.8.2 on windows 7
please guide me how to use qextserialport lib
Thanks