Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ LNK2019:未解析的外部符号“函数中引用的Uu imp”GetComName”;private:int“cdecl StartProcess::ComInit(void)”;_C++_Qt_Qt Creator - Fatal编程技术网

C++ LNK2019:未解析的外部符号“函数中引用的Uu imp”GetComName”;private:int“cdecl StartProcess::ComInit(void)”;

C++ LNK2019:未解析的外部符号“函数中引用的Uu imp”GetComName”;private:int“cdecl StartProcess::ComInit(void)”;,c++,qt,qt-creator,C++,Qt,Qt Creator,我在64位windows 7中使用Qt Creator 4.10.0。当我编译我的项目(编译器是32位的)时,会出现以下问题: startprocess.obj:-1: error: LNK2019: unresolved external symbol __imp_GetComName referenced in function "private: int __cdecl StartProcess::ComInit(void)" (?ComInit@StartProcess@@AEAAH

我在64位windows 7中使用Qt Creator 4.10.0。当我编译我的项目(编译器是32位的)时,会出现以下问题:

startprocess.obj:-1: error: LNK2019: unresolved external symbol 
__imp_GetComName referenced in function "private: int __cdecl 
StartProcess::ComInit(void)" (?ComInit@StartProcess@@AEAAHXZ)
我的专业文件

LIBS += -L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/boost_1_71_0/libs" - 
    llibboost_date_time-vc141-mt-x32-1_71 \
    - 
     L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/boost_1_71_0/libs" - 
      llibboost_regex-vc141-mt-x32-1_71 \
    -L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/lib" - 
      lEfuseLibrary \
    -L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/lib" -lQMTRACE \
    -L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/lib" - 
       lDownloadLib

Qt4.10或QtCreator 4.10?QtCreator 4.10.0 IDE是QtCreator。我包括了所有库,但仍然得到这个错误。