install on windows
Opened this issue · 2 comments
I've managed to enable build on windows creating msvc sln instead of creating makefile, using qmake
qmake -spec win32-msvc2013
qmake -tp vc -r
Still couple of problems,
- Need to modify string format of QUICK_TEST_SOURCE_DIR in vc project property to avoid compilation error
- Need to copy QT assemblies and Material.Extra modules into build directory
After applying those, I could run test harness successfully.
I've tried to add changes in qmake definition for above adjustment, but yet not able to succeed due to lacks of knowledge regarding qmake. Anyone can give insight would be appreciated.
Update : made it work.
Makefile generated by qmake seems not working correctly under msvc configuration. Install Qt-mingw along with mingw, then set qt environment via qtenv2.bat (5.4) under mingw target binary of Qt, try make again. If 'syntax error: unexpected end of file' still occurs, it is possible due to shell installation other than cmd such as cygwin - explicitly setting shell like
make SHELL=%ComSpec%
can be helpful.
References :
http://www.stridewiki.com/index.php?title=Troubleshooting_Build_Problems#Make_Error_2
http://stackoverflow.com/questions/16567782/error-missing-separator-in-build-qwt-6-1