commit on windows

This commit is contained in:
Markus 2019-08-22 14:33:05 +02:00
parent 64f362c6f7
commit de3dc9c825
3 changed files with 6 additions and 3 deletions

View File

@ -1,8 +1,10 @@
QT -= gui QT -= gui


LIBS += -lcurl #Linux:
#LIBS += -LC:\Users\Markus\Desktop\S_New4\S_New4\curl -lcurl #LIBS += -lcurl
#LIBS += -L/home/markus/Qt/S_New4/curl -lcurl
#Windows
LIBS += -L$${_PRO_FILE_PWD_}\curl -lcurl




CONFIG += c++11 console CONFIG += c++11 console

View File

@ -1003,6 +1003,7 @@ std::string getexepath()
memset( CharArray, 0, MAX_PATH + 1); memset( CharArray, 0, MAX_PATH + 1);
GetModuleFileName( nullptr, buffer, MAX_PATH ); GetModuleFileName( nullptr, buffer, MAX_PATH );
wcstombs(CharArray, buffer, MAX_PATH + 1); wcstombs(CharArray, buffer, MAX_PATH + 1);
return CharArray;
#endif #endif
} }



Binary file not shown.