Repository navigation
Compile PlexyDesk on Windows
Dariusz Mikulski edited this page Sep 18, 2015
·
4 revisions
To compile PlexyDesk on Windows following tools needs to be installed on your system. Currently All version of windows supported by Qt is supported by PlexyDesk too.
- Visual Studio express 2013 - (Older versions will not due to lack of C++11 extensions and support)
- CMake for Windows.
- Git for Windows or Github UI for Windows.
- Qt 5.3 or later which matches your compilers.
Give the above tools are installed start up Make sure the tools are available from Visual Studio Command Line runtime console.
Setup Command Line for Visual Studio and Qt:
$> <path to Visual Studio>\VC\vcvarsall.bat
$> <path to Qt>\bin\qtenv2.bat
$> git clone https://github.com/plexydesk/plexydesk
$> cd plexydesk
$> mkdir plexydesk-1.0-release-build
$> cd plexydesk-1.0-release-build
$> cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX="C:\PlexyDesk-1.0\ ..\
$> nmake
$> nmake install
$> windeployqt -xml -webkit2 -webkitwidgets -webkit -network -svg -opengl -multimedia -quick -printsupport -multimediawidgets -sensors -sql -positioning c:\PlexyDesk-1.0\bin\plexydesk.exe
$> C:\PlexyDesk-1.0\bin\plexydesk.exe
Please note that due to bug #32 you might need to copy all the DLL files from lib to bin directory. please avoid
copying lib\extensions since they will be resolved and loaded by plexyesk.
Note: If you are using visual studio tools follow the steps below.
$> cmake -DCMAKE_INSTALL_PREFIX=C:\PlexyDesk1.0\ -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 12 2013" C:\Path\to\PlexyDesk\Source\Code
$> devenv PlexyDesk.lsn /Build Debug /Project INSTALL
Clean project:
devenv PlexyDesk.sln /Clean Debug /Project INSTALL
Note: Also you can build and install by using msbuild tool from Command Line if you like colored lines in console :)
$> msbuild INSTALL.vcxproj /p:Configuration="Release"