-
Notifications
You must be signed in to change notification settings - Fork 12
Install instructions
maros136 edited this page Nov 15, 2011
·
3 revisions
Instruction for run project TrollEdit in Qt Creator
This instruction works on Windows XP, Vista, 7 with QT Creator 4.7.2
- MinGW - http://sourceforge.net/projects/mingw/files/latest/download
- Cmake - http://www.cmake.org/files/v2.8/cmake-2.8.6-win32-x86.exe
- QT Creator - http://get.qt.nokia.com/qtsdk/Qt_SDK_Win_offline_v1_1_3_en.exe - in QT need install lib for mingw (Maintain Qt SDK - package manager)
Setup Enviroment in Windows:
- PATH C:\MinGW\bin;C:\QtSDK\Desktop\Qt\4.7.4\mingw\bin
- QMAKESPEC C:\QtSDK\Desktop\Qt\4.7.4\mingw\mkspecs\win32-g++
- QT_LIBRARIES C:\QtSDK\Desktop\Qt\4.7.4\mingw\lib
- QT_MOC_EXECUTABLE C:\QtSDK\Desktop\Qt\4.7.4\mingw\bin\moc.exe
- QT_QMAKE_EXECUTABLE C:\QtSDK\Desktop\Qt\4.7.4\mingw\bin\qmake.exe
Steps:
- In Qt Creator setup Tools->Options->Projects->CMake->Executable to "C:\Program Files\CMake 2.8\bin\cmake.exe"
- In Qt Creator open as project CmakeLists.txt and setup path for Build "._build", click "run Cmake" and click finish
- On the sidebar click Projects->BuildSettings->BuildSteps->Details in line "Additional arguments" write "install"
- Build project
- On the sidebar click Projects->RunSettings
5a. click "Add Development Steps" click "Make" in line "Additional arguments" write "install"
5b. click RunConfiguration->Add->CustomExecutable
5c. in line "Executable" change path to ".\TrollEdit\bin\trolledit"
example - "C:\Documents and Settings\User\Desktop\TrollEdit Innovators\TrollEdit\TrollEdit\bin\trolledit"
5d. in line "Working directory" "TrollEdit\bin"
example - "C:\Documents and Settings\User\Desktop\TrollEdit Innovators\TrollEdit\TrollEdit\bin"
- Run project
(7.) When start application "exit", try copy DLL (QtCore4.dll, QtGui4.dll, libgcc_s_dw2-1.dll) from path "C:\QtSDK\Desktop\Qt\4.7.4\mingw\bin" to project directory