Discussion Forum

Forum Navigation
Please to create posts and topics.

Errors while ruing the code on windows machine using Qt Creator 5.13.2

hello sir,

I was trying to run the Scrite code on Qt 5.13.2 and I encountered errors. please help with me to resolve this errors.

I am attaching the screenshots of the errors.

I request you to help me out with this issues.

 

Thank You

Uploaded files:
  • error1.PNG
  • error2.PNG
  • error3.PNG
  • error4.PNG
  • error5.PNG

@akkey:You will need to install Windows SDK. Scrite uses native Windows components for Spell check (https://www.scrite.io/index.php/spell-check/) and for input methods integration (https://www.scrite.io/index.php/using-input-methods/).

Depending on the OS version you are using, you can install Windows SDK from

  1. https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk/ (for Windows 10)
  2. https://www.microsoft.com/en-in/download/details.aspx?id=8279 (for Windows 7)

Also, we suggest that you use Microsoft Visual Studio 2017 with Qt Creator, rather than MinGW. You can download a community edition of Microsoft Visual Studio 2017 from here: https://visualstudio.microsoft.com/vs/older-downloads/. Scroll down to 2017, expand it and download.

 

Uploaded files:
  • old-vs-2017.jpg

@akkey: Also, this ticket was moved from Bugs to Software Development, because technically this is a software development question rather than a product bug :-).

From now on, please post questions related to source code, compile and build to Software Development.

akkey has reacted to this post.
akkey

Thank you for your help. I'll do things as you said and try to run the Scrite source code

@teriflix

hello sir,

after doing all thing as said still I am getting errors. I opened the project in Microsoft Visual Studio 2017 and install Microsoft SDK also.

I am finding following errors

 

Severity Code Description Project File Line Suppression State
Error (active) E1097 unknown attribute "no_init_all" scrite C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\winnt.h 3901
Error C2238 unexpected token(s) preceding ';' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 46
Error C2062 type 'int' unexpected scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 93
Error C2146 syntax error: missing ';' before identifier 'hr' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 127
Error C2146 syntax error: missing ';' before identifier 'hr' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 219
Error C2146 syntax error: missing ';' before identifier 'hr' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 260
Error C2146 syntax error: missing ';' before identifier 'hr' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 278
Error C2146 syntax error: missing ';' before identifier 'correctiveAction' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 285
Error C2143 syntax error: missing ';' before '{' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 94
Error C2059 syntax error: '=' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 46
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 260
Error C1003 error count exceeds 100; stopping compilation scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 290
Error C1083 Cannot open include file: 'zlib.h': No such file or directory (compiling source file src\document\documentfilesystem.cpp) scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\quazip\quazip\zip.h 56
Error C1083 Cannot open include file: 'zlib.h': No such file or directory (compiling source file 3rdparty\quazip\quazip\quazipfile.cpp) scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\quazip\quazip\zip.h 56
Error C1083 Cannot open include file: 'zlib.h': No such file or directory (compiling source file 3rdparty\quazip\quazip\quazipdir.cpp) scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\quazip\quazip\zip.h 56
Error C1083 Cannot open include file: 'zlib.h': No such file or directory (compiling source file 3rdparty\quazip\quazip\quazip.cpp) scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\quazip\quazip\zip.h 56
Error C1083 Cannot open include file: 'zlib.h': No such file or directory (compiling source file 3rdparty\quazip\quazip\quaziodevice.cpp) scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\quazip\quazip\quaziodevice.h 31
Error C1083 Cannot open include file: 'zlib.h': No such file or directory (compiling source file 3rdparty\quazip\quazip\quagzipfile.cpp) scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\quazip\quazip\quagzipfile.h 31
Error C1083 Cannot open include file: 'zlib.h': No such file or directory (compiling source file 3rdparty\quazip\quazip\JlCompress.cpp) scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\quazip\quazip\zip.h 56
Error C1083 Cannot open include file: 'zlib.h': No such file or directory scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\quazip\quazip\qioapi.cpp 14
Error C1083 Cannot open include file: 'zlib.h': No such file or directory scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\quazip\quazip\quaadler32.cpp 28
Error C1083 Cannot open include file: 'zlib.h': No such file or directory scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\quazip\quazip\quacrc32.cpp 27
Error C2678 binary '->': no operator found which takes a left-hand operand of type 'Microsoft::COMInterface' (or there is no acceptable conversion) scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 219
Error C2678 binary '->': no operator found which takes a left-hand operand of type 'Microsoft::COMInterface' (or there is no acceptable conversion) scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 260
Error C2678 binary '->': no operator found which takes a left-hand operand of type 'Microsoft::COMInterface' (or there is no acceptable conversion) scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 278
Error C2447 '{': missing function header (old-style formal list?) scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 94
Error C2039 'toStringList': is not a member of 'Microsoft' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 142
Error C3861 'toStringList': identifier not found scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 142
Error C2065 'S_OK': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 261
Error C2065 'S_OK': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 279
Error C2065 'S_OK': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 283
Error C2065 'S_FALSE': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 37
Error C3861 'SUCCEEDED': identifier not found scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 42
Error C3861 'SUCCEEDED': identifier not found scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 134
Error C3861 'SUCCEEDED': identifier not found scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 140
Error C3861 'SUCCEEDED': identifier not found scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 220
Error C3861 'SUCCEEDED': identifier not found scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 288
Error C2065 'spellingError': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 281
Error C2065 'spellingError': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 282
Error C2065 'spellingError': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 286
Error C2065 'spellCheckerFactory': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 126
Error C2065 'SpellCheckerFactory': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 127
Error C2065 'spellCheckerFactory': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 127
Error C2065 'SpellCheckerFactory': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 131
Error C2065 'spellCheckerFactory': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 131
Error C2065 'spellCheckerFactory': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 136
Error C2065 'spellCheckerFactory': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 139
Error C2065 'spellCheckerFactory': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 146
Error C2065 'spellChecker': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 216
Error C2065 'spellChecker': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 219
Error C2065 'spellChecker': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 222
Error C2065 'spellChecker': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 223
Error C2923 'Microsoft::COMInterface': 'ISpellCheckerFactory' is not a valid template type argument for parameter 'T' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 115
Error C2923 'Microsoft::COMInterface': 'ISpellChecker' is not a valid template type argument for parameter 'T' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 201
Error C2065 'ISpellingError': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 281
Error C2065 'ISpellCheckerFactory': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 115
Error C2065 'ISpellCheckerFactory': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 126
Error C2065 'ISpellChecker': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 201
Error C2065 'ISpellChecker': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 216
Error C3861 'IID_PPV_ARGS': identifier not found scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 127
Error C3861 'IID_PPV_ARGS': identifier not found scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 131
Error C2065 'IEnumString': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 93
Error C2065 'IEnumString': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 138
Error C2065 'IEnumSpellingError': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 276
Error C2065 'HRESULT': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 127
Error C2065 'HRESULT': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 219
Error C2065 'HRESULT': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 278
Error C3646 'hr': unknown override specifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 46
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 37
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 42
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 127
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 128
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 131
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 134
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 139
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 140
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 219
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 220
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 260
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 261
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 278
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 279
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 282
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 283
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 286
Error C2065 'hr': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 288
Error C2039 'hr': is not a member of 'Microsoft::COM' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 38
Error C2065 'enumSpellingError': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 276
Error C2065 'enumSpellingError': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 278
Error C2065 'enumSpellingError': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 282
Error C2065 'enumLanguages': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 138
Error C2065 'enumLanguages': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 139
Error C2065 'enumLanguages': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 142
Error C2065 'enumLanguages': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 143
Error C2065 'enumeration': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 93
Error C2039 'CreateSpellChecker': is not a member of 'Microsoft::COMInterface' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 219
Error C2065 'CO_E_NOTINITIALIZED': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 128
Error C3861 'CoUninitialize': identifier not found scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 33
Error C2065 'CORRECTIVE_ACTION_NONE': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 285
Error C2065 'CORRECTIVE_ACTION': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 285
Error C2065 'correctiveAction': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 285
Error C2065 'correctiveAction': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 286
Error C2065 'correctiveAction': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 290
Error C2065 'COINIT_MULTITHREADED': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 38
Error C3861 'CoInitializeEx': identifier not found scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 38
Error C3861 'CoCreateInstance': identifier not found scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 127
Error C3861 'CoCreateInstance': identifier not found scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 131
Error C2065 'CLSCTX_INPROC_SERVER': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 127
Error C2065 'CLSCTX_INPROC_SERVER': undeclared identifier scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 131
Error C2039 'Check': is not a member of 'Microsoft::COMInterface' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 278
Error C2662 'bool Microsoft::COMInterface<T>::isNull(void) const': cannot convert 'this' pointer from 'Microsoft::COMInterface' to 'const Microsoft::COMInterface<T> &' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 214
Error C2662 'bool Microsoft::COMInterface<T>::isNull(void) const': cannot convert 'this' pointer from 'Microsoft::COMInterface' to 'const Microsoft::COMInterface<T> &' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 256
Error C2662 'bool Microsoft::COMInterface<T>::isNull(void) const': cannot convert 'this' pointer from 'Microsoft::COMInterface' to 'const Microsoft::COMInterface<T> &' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 273
Error C2039 'Add': is not a member of 'Microsoft::COMInterface' scrite c:\users\akshay jain\downloads\compressed\scrite-master_3\scrite-master\3rdparty\sonnet\plugins\windows\windowsclient.cpp 260

@akkey: The errors related to (Error C1083 Cannot open include file: 'zlib.h':) is probably because qmake is unable to resolve QT_INSTALL_HEADERS to the folder where Qt's headers can be found. We have to link to zlib in order to get QuaZip to work. Scrite documents are basically ZIP files (https://www.scrite.io/index.php/interoperable-document-format/).

Assuming you have installed Qt on your C:\, you should ideally find zlib.h at this folder. C:\Qt\Qt5.13.2\5.13.2\msvc2017_64\include. Please check if you have that folder.

 

@teriflix

Heyy,

 

Still getting same errors after doing what you said.

@akkey: Maybe there are reasons beyond what we know. All we do is setup VS 2017, Windows SDK, install Qt 5.13.2 and build from source.