c++ - CMake Qt build on windows linker problems -




i trying build , compile qt project repo. project contains cmake file, using build , compile using nmake. however, getting bunch of linker errors towards end of compile , don't have experience cmake not sure going wrong. using msvc 14.11.25503. cmakelist.txt here:

cmake_minimum_required(version 3.6 fatal_error)  project(loggergui cxx) set(target ${cmake_project_name})  set(cmake_automoc on) set(cmake_include_current_dir on)  find_package(qt5widgets required) find_package(qt5printsupport required) find_package(qt5bluetooth required)  add_subdirectory(include/cpptoml) add_subdirectory(include/qcustomplot) add_subdirectory(include/easylogging++)  file(glob cpp_sources   src/*.cpp) file(glob hdr_sources   src/*.h) set(ui_sources src/mainwindow.ui) qt5_wrap_cpp(hdr_moc ${hdr_sources}) qt5_wrap_ui(ui_generated_headers ${ui_sources})  add_executable(${target} ${cpp_sources} ${hdr_moc} ${ui_generated_headers})  # generate proper gui program on specified platform if(win32) # check if on windows     if(msvc) # check if using visual studio compiler         set_target_properties(${target} properties             win32_executable yes             link_flags "/entry:maincrtstartup"         )     elseif(cmake_compiler_is_gnucxx)             # set(cmake_cxx_flags "${cmake_cxx_flags} -mwindows") # not tested     else()         message(send_error "you using unsupported windows compiler! (not msvc or gcc)")     endif(msvc) elseif(apple)     set_target_properties(${target} properties             macosx_bundle yes     ) elseif(unix)     # nothing special required else()     message(send_error "you on unsupported platform! (not win32, mac os x or unix)") endif(win32)  qt5_use_modules(${target} widgets printsupport bluetooth) target_link_libraries(${target} cpptoml) target_link_libraries(${target} easylogging++) target_link_libraries(${target} qcustomplot) 

i deleting build folder before running cmake understand globbing shouldn't problem. here part of output nmake (i can't fit in , @ point becomes redundant):

[ 80%] linking cxx executable loggergui.exe mocs_compilation.cpp.obj : error lnk2005: "public: virtual struct qmetaobject const * __thiscall connectionhandler::metaobject(void)const " (?metaobject@connectionhandler@@ubepbuqmetaobject@@xz) defined in moc_connectionhandler.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual void * __thiscall connectionhandler::qt_metacast(char const *)" (?qt_metacast@connectionhandler@@uaepaxpbd@z) defined in moc_connectionhandler.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual int __thiscall connectionhandler::qt_metacall(enum qmetaobject::call,int,void * *)" (?qt_metacall@connectionhandler@@uaehw4call@qmetaobject@@hpapax@z) defined in moc_connectionhandler.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "private: static void __cdecl connectionhandler::qt_static_metacall(class qobject *,enum qmetaobject::call,int,void * *)" (?qt_static_metacall@connectionhandler@@caxpavqobject@@w4call@qmetaobject@@hpapax@z) defined in moc_connectionhandler.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual struct qmetaobject const * __thiscall logger::metaobject(void)const " (?metaobject@logger@@ubepbuqmetaobject@@xz) defined in moc_logger.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual void * __thiscall logger::qt_metacast(char const *)" (?qt_metacast@logger@@uaepaxpbd@z) defined in moc_logger.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual int __thiscall logger::qt_metacall(enum qmetaobject::call,int,void * *)" (?qt_metacall@logger@@uaehw4call@qmetaobject@@hpapax@z) defined in moc_logger.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "private: static void __cdecl logger::qt_static_metacall(class qobject *,enum qmetaobject::call,int,void * *)" (?qt_static_metacall@logger@@caxpavqobject@@w4call@qmetaobject@@hpapax@z) defined in moc_logger.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual struct qmetaobject const * __thiscall plotter::metaobject(void)const " (?metaobject@plotter@@ubepbuqmetaobject@@xz) defined in moc_plotter.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual void * __thiscall plotter::qt_metacast(char const *)" (?qt_metacast@plotter@@uaepaxpbd@z) defined in moc_plotter.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual int __thiscall plotter::qt_metacall(enum qmetaobject::call,int,void * *)" (?qt_metacall@plotter@@uaehw4call@qmetaobject@@hpapax@z) defined in moc_plotter.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "private: static void __cdecl plotter::qt_static_metacall(class qobject *,enum qmetaobject::call,int,void * *)" (?qt_static_metacall@plotter@@caxpavqobject@@w4call@qmetaobject@@hpapax@z) defined in moc_plotter.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual struct qmetaobject const * __thiscall serialparser::metaobject(void)const " (?metaobject@serialparser@@ubepbuqmetaobject@@xz) defined in moc_serialparser.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual void * __thiscall serialparser::qt_metacast(char const *)" (?qt_metacast@serialparser@@uaepaxpbd@z) defined in moc_serialparser.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual int __thiscall serialparser::qt_metacall(enum qmetaobject::call,int,void * *)" (?qt_metacall@serialparser@@uaehw4call@qmetaobject@@hpapax@z) defined in moc_serialparser.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "private: static void __cdecl serialparser::qt_static_metacall(class qobject *,enum qmetaobject::call,int,void * *)" (?qt_static_metacall@serialparser@@caxpavqobject@@w4call@qmetaobject@@hpapax@z) defined in moc_serialparser.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual struct qmetaobject const * __thiscall table::metaobject(void)const " (?metaobject@table@@ubepbuqmetaobject@@xz) defined in moc_table.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual void * __thiscall table::qt_metacast(char const *)" (?qt_metacast@table@@uaepaxpbd@z) defined in moc_table.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual int __thiscall table::qt_metacall(enum qmetaobject::call,int,void * *)" (?qt_metacall@table@@uaehw4call@qmetaobject@@hpapax@z) defined in moc_table.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "private: static void __cdecl table::qt_static_metacall(class qobject *,enum qmetaobject::call,int,void * *)" (?qt_static_metacall@table@@caxpavqobject@@w4call@qmetaobject@@hpapax@z) defined in moc_table.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: void __thiscall table::graphtoggled(class datastream)" (?graphtoggled@table@@qaexvdatastream@@@z) defined in moc_table.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: void __thiscall table::axistoggled(class datastream)" (?axistoggled@table@@qaexvdatastream@@@z) defined in moc_table.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual struct qmetaobject const * __thiscall loggergui::metaobject(void)const " (?metaobject@loggergui@@ubepbuqmetaobject@@xz) defined in moc_loggergui.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual void * __thiscall loggergui::qt_metacast(char const *)" (?qt_metacast@loggergui@@uaepaxpbd@z) defined in moc_loggergui.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: virtual int __thiscall loggergui::qt_metacall(enum qmetaobject::call,int,void * *)" (?qt_metacall@loggergui@@uaehw4call@qmetaobject@@hpapax@z) defined in moc_loggergui.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "private: static void __cdecl loggergui::qt_static_metacall(class qobject *,enum qmetaobject::call,int,void * *)" (?qt_static_metacall@loggergui@@caxpavqobject@@w4call@qmetaobject@@hpapax@z) defined in moc_loggergui.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: void __thiscall loggergui::newdataavailable(void)" (?newdataavailable@loggergui@@qaexxz) defined in moc_loggergui.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: static struct qmetaobject const connectionhandler::staticmetaobject" (?staticmetaobject@connectionhandler@@2uqmetaobject@@b) defined in moc_connectionhandler.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: static struct qmetaobject const logger::staticmetaobject" (?staticmetaobject@logger@@2uqmetaobject@@b) defined in moc_logger.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: static struct qmetaobject const plotter::staticmetaobject" (?staticmetaobject@plotter@@2uqmetaobject@@b) defined in moc_plotter.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: static struct qmetaobject const serialparser::staticmetaobject" (?staticmetaobject@serialparser@@2uqmetaobject@@b) defined in moc_serialparser.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: static struct qmetaobject const table::staticmetaobject" (?staticmetaobject@table@@2uqmetaobject@@b) defined in moc_table.cpp.obj mocs_compilation.cpp.obj : error lnk2005: "public: static struct qmetaobject const loggergui::staticmetaobject" (?staticmetaobject@loggergui@@2uqmetaobject@@b) defined in moc_loggergui.cpp.obj moc_table.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(class qstring const &)" (__imp_??0qstring@@qae@abv0@@z) mocs_compilation.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(class qstring const &)" (__imp_??0qstring@@qae@abv0@@z) qcustomplot.lib(qcustomplot.cpp.obj) : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(class qstring const &)" (__imp_??0qstring@@qae@abv0@@z) qcustomplot.lib(mocs_compilation.cpp.obj) : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(class qstring const &)" (__imp_??0qstring@@qae@abv0@@z) config.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(class qstring const &)" (__imp_??0qstring@@qae@abv0@@z) loggergui.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(class qstring const &)" (__imp_??0qstring@@qae@abv0@@z) table.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(class qstring const &)" (__imp_??0qstring@@qae@abv0@@z) moc_plotter.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(class qstring const &)" (__imp_??0qstring@@qae@abv0@@z) moc_table.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::~qstring(void)" (__imp_??1qstring@@qae@xz) mocs_compilation.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::~qstring(void)" (__imp_??1qstring@@qae@xz) qcustomplot.lib(qcustomplot.cpp.obj) : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::~qstring(void)" (__imp_??1qstring@@qae@xz) qcustomplot.lib(mocs_compilation.cpp.obj) : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::~qstring(void)" (__imp_??1qstring@@qae@xz) plotter.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::~qstring(void)" (__imp_??1qstring@@qae@xz) serialparser.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::~qstring(void)" (__imp_??1qstring@@qae@xz) table.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::~qstring(void)" (__imp_??1qstring@@qae@xz) moc_plotter.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::~qstring(void)" (__imp_??1qstring@@qae@xz) config.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::~qstring(void)" (__imp_??1qstring@@qae@xz) connectionhandler.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::~qstring(void)" (__imp_??1qstring@@qae@xz) logger.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::~qstring(void)" (__imp_??1qstring@@qae@xz) loggergui.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::~qstring(void)" (__imp_??1qstring@@qae@xz) config.cpp.obj : error lnk2019: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(class qstring &&)" (__imp_??0qstring@@qae@$$qav0@@z) referenced in function "public: __thiscall datastream::datastream(class datastream &&)" (??0datastream@@qae@$$qav0@@z) qcustomplot.lib(qcustomplot.cpp.obj) : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(class qstring &&)" (__imp_??0qstring@@qae@$$qav0@@z) config.cpp.obj : error lnk2019: unresolved external symbol "__declspec(dllimport) public: class qstring & __thiscall qstring::operator=(class qstring &&)" (__imp_??4qstring@@qaeaav0@$$qav0@@z) referenced in function "class std::vector<class datastream,class std::allocator<class datastream> > __cdecl readconfig(struct configdata &)" (?readconfig@@ya?av?$vector@vdatastream@@v?$allocator@vdatastream@@@std@@@std@@aauconfigdata@@@z) qcustomplot.lib(qcustomplot.cpp.obj) : error lnk2001: unresolved external symbol "__declspec(dllimport) public: class qstring & __thiscall qstring::operator=(class qstring &&)" (__imp_??4qstring@@qaeaav0@$$qav0@@z) qcustomplot.lib(mocs_compilation.cpp.obj) : error lnk2001: unresolved external symbol "__declspec(dllimport) public: class qstring & __thiscall qstring::operator=(class qstring &&)" (__imp_??4qstring@@qaeaav0@$$qav0@@z) config.cpp.obj : error lnk2019: unresolved external symbol "__declspec(dllimport) public: static class qstring __cdecl qstring::fromstdstring(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?fromstdstring@qstring@@sa?av1@abv?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@@z) referenced in function "class std::vector<class datastream,class std::allocator<class datastream> > __cdecl readconfig(struct configdata &)" (?readconfig@@ya?av?$vector@vdatastream@@v?$allocator@vdatastream@@@std@@@std@@aauconfigdata@@@z) qcustomplot.lib(qcustomplot.cpp.obj) : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(void)" (__imp_??0qstring@@qae@xz) connectionhandler.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(void)" (__imp_??0qstring@@qae@xz) logger.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(void)" (__imp_??0qstring@@qae@xz) loggergui.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(void)" (__imp_??0qstring@@qae@xz) plotter.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qstring::qstring(void)" (__imp_??0qstring@@qae@xz) connectionhandler.cpp.obj : error lnk2019: unresolved external symbol "__declspec(dllimport) public: class qstring & __thiscall qstring::operator=(class qstring const &)" (__imp_??4qstring@@qaeaav0@abv0@@z) referenced in function "public: struct configdata & __thiscall configdata::operator=(struct configdata const &)" (??4configdata@@qaeaau0@abu0@@z) logger.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: class qstring & __thiscall qstring::operator=(class qstring const &)" (__imp_??4qstring@@qaeaav0@abv0@@z) plotter.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: class qstring & __thiscall qstring::operator=(class qstring const &)" (__imp_??4qstring@@qaeaav0@abv0@@z) qcustomplot.lib(qcustomplot.cpp.obj) : error lnk2001: unresolved external symbol "__declspec(dllimport) public: class qstring & __thiscall qstring::operator=(class qstring const &)" (__imp_??4qstring@@qaeaav0@abv0@@z) connectionhandler.cpp.obj : error lnk2019: unresolved external symbol "__declspec(dllimport) public: __thiscall qmetaobject::connection::~connection(void)" (__imp_??1connection@qmetaobject@@qae@xz) referenced in function "public: void __thiscall connectionhandler::setup(void)" (?setup@connectionhandler@@qaexxz) loggergui.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qmetaobject::connection::~connection(void)" (__imp_??1connection@qmetaobject@@qae@xz) table.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qmetaobject::connection::~connection(void)" (__imp_??1connection@qmetaobject@@qae@xz) qcustomplot.lib(qcustomplot.cpp.obj) : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qmetaobject::connection::~connection(void)" (__imp_??1connection@qmetaobject@@qae@xz) table.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qobject::qobject(class qobject *)" (__imp_??0qobject@@qae@pav0@@z) qcustomplot.lib(qcustomplot.cpp.obj) : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qobject::qobject(class qobject *)" (__imp_??0qobject@@qae@pav0@@z) connectionhandler.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qobject::qobject(class qobject *)" (__imp_??0qobject@@qae@pav0@@z) logger.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qobject::qobject(class qobject *)" (__imp_??0qobject@@qae@pav0@@z) loggergui.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qobject::qobject(class qobject *)" (__imp_??0qobject@@qae@pav0@@z) plotter.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: __thiscall qobject::qobject(class qobject *)" (__imp_??0qobject@@qae@pav0@@z) table.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall qobject::~qobject(void)" (__imp_??1qobject@@uae@xz) qcustomplot.lib(qcustomplot.cpp.obj) : error lnk2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall qobject::~qobject(void)" (__imp_??1qobject@@uae@xz) connectionhandler.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall qobject::~qobject(void)" (__imp_??1qobject@@uae@xz) logger.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall qobject::~qobject(void)" (__imp_??1qobject@@uae@xz) loggergui.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall qobject::~qobject(void)" (__imp_??1qobject@@uae@xz) plotter.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall qobject::~qobject(void)" (__imp_??1qobject@@uae@xz) connectionhandler.cpp.obj : error lnk2019: unresolved external symbol "__declspec(dllimport) private: static class qmetaobject::connection __cdecl qobject::connectimpl(class qobject const *,void * *,class qobject const *,void * *,class qtprivate::qslotobjectbase *,enum qt::connectiontype,int const *,struct qmetaobject const *)" (__imp_?connectimpl@qobject@@ca?avconnection@qmetaobject@@pbv1@papax01pavqslotobjectbase@qtprivate@@w4connectiontype@qt@@pbhpbu3@@z) referenced in function "public: static class qmetaobject::connection __cdecl qobject::connect<void (__thiscall qbluetoothsocket::*)(void),class <lambda_582bb6fe4d5712728322f8f22541ba8e> >(class qbluetoothsocket const *,void (__thiscall qbluetoothsocket::*)(void),class qobject const *,class <lambda_582bb6fe4d5712728322f8f22541ba8e>,enum qt::connectiontype)" (??$connect@p8qbluetoothsocket@@aexxzv<lambda_582bb6fe4d5712728322f8f22541ba8e>@@@qobject@@sa?avconnection@qmetaobject@@pbvqbluetoothsocket@@p83@aexxzpbv0@v<lambda_582bb6fe4d5712728322f8f22541ba8e>@@w4connectiontype@qt@@@z) loggergui.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) private: static class qmetaobject::connection __cdecl qobject::connectimpl(class qobject const *,void * *,class qobject const *,void * *,class qtprivate::qslotobjectbase *,enum qt::connectiontype,int const *,struct qmetaobject const *)" (__imp_?connectimpl@qobject@@ca?avconnection@qmetaobject@@pbv1@papax01pavqslotobjectbase@qtprivate@@w4connectiontype@qt@@pbhpbu3@@z) table.cpp.obj : error lnk2001: unresolved external symbol "__declspec(dllimport) private: static class qmetaobject::connection __cdecl qobject::connectimpl(class qobject const *,void * *,class qobject const *,void * *,class qtprivate::qslotobjectbase *,enum qt::connectiontype,int const *,struct qmetaobject const *)" (__imp_?connectimpl@qobject@@ca?avconnection@qmetaobject@@pbv1@papax01pavqslotobjectbase@qtprivate@@w4connectiontype@qt@@pbhpbu3@@z) connectionhandler.cpp.obj : error lnk2019: unresolved external symbol "__declspec(dllimport) public: __thiscall qbluetoothaddress::qbluetoothaddress(class qstring const &)" (__imp_??0qbluetoothaddress@@qae@abvqstring@@@z) referenced in function "public: void __thiscall connectionhandler::setup(void)" (?setup@connectionhandler@@qaexxz) connectionhandler.cpp.obj : error lnk2019: unresolved external symbol "__declspec(dllimport) public: __thiscall qbluetoothaddress::~qbluetoothaddress(void)" (__imp_??1qbluetoothaddress@@qae@xz) referenced in function "public: void __thiscall connectionhandler::setup(void)" (?setup@connectionhandler@@qaexxz) connectionhandler.cpp.obj : error lnk2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall qbluetoothsocket::connecttoservice(class qbluetoothaddress const &,unsigned short,class qflags<enum qiodevice::openmodeflag>)" (__imp_?connecttoservice@qbluetoothsocket@@qaexabvqbluetoothaddress@@gv?$qflags@w4openmodeflag@qiodevice@@@@@z) referenced in function "public: void __thiscall connectionhandler::setup(void)" (?setup@connectionhandler@@qaexxz) connectionhandler.cpp.obj : error lnk2019: unresolved external symbol "__declspec(dllimport) public: enum qbluetoothsocket::socketstate __thiscall qbluetoothsocket::state(void)const " (__imp_?state@qbluetoothsocket@@qbe?aw4socketstate@1@xz) referenced in function "public: void __thiscall <lambda_582bb6fe4d5712728322f8f22541ba8e>::operator()(void)const " (??r<lambda_582bb6fe4d5712728322f8f22541ba8e>@@qbexxz) connectionhandler.cpp.obj : error lnk2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall qbluetoothsocket::disconnected(void)" (__imp_?disconnected@qbluetoothsocket@@qaexxz) referenced in function "public: void __thiscall connectionhandler::setup(void)" (?setup@connectionhandler@@qaexxz) table.cpp.obj : error lnk2001: unresolved external symbol "protected: virtual void __thiscall qobject::childevent(class qchildevent *)" (?childevent@qobject@@maexpavqchildevent@@@z) qcustomplot.lib(qcustomplot.cpp.obj) : error lnk2001: unresolved external symbol "protected: virtual void __thiscall qobject::childevent(class qchildevent *)" (?childevent@qobject@@maexpavqchildevent@@@z) connectionhandler.cpp.obj : error lnk2001: unresolved external symbol "protected: virtual void __thiscall qobject::childevent(class qchildevent *)" (?childevent@qobject@@maexpavqchildevent@@@z) logger.cpp.obj : error lnk2001: unresolved external symbol "protected: virtual void __thiscall qobject::childevent(class qchildevent *)" (?childevent@qobject@@maexpavqchildevent@@@z) loggergui.cpp.obj : error lnk2001: unresolved external symbol "protected: virtual void __thiscall qobject::childevent(class qchildevent *)" (?childevent@qobject@@maexpavqchildevent@@@z) plotter.cpp.obj : error lnk2001: unresolved external symbol "protected: virtual void __thiscall qobject::childevent(class qchildevent *)" (?childevent@qobject@@maexpavqchildevent@@@z) table.cpp.obj : error lnk2001: unresolved external symbol "protected: virtual void __thiscall qobject::connectnotify(class qmetamethod const &)" (?connectnotify@qobject@@maexabvqmetamethod@@@z) loggergui.exe : fatal error lnk1120: 976 unresolved externals link pass 1 failed. 1120 





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -