-
Notifications
You must be signed in to change notification settings - Fork 12
Developers guide: Setting up development environment
-
Windows
1.1. Install Microsoft Visual Studio
1.2. Install Qt
1.3. Install Git
1.4. Required Libraries -
Linux (Ubuntu)
2.1. Install Qt
2.2. Install Git
2.3. Install libssh
-
MacOS
3.1. Install Xcode
3.2. Install Qt
3.3. Install Git
3.4. Install libssh
-
Cloning Control Center repository
Get online installer here
When installing, in Worklads tab, check marks:
- Windows
1.1. Universal Windows Platform development
1.2. .NET Desktop development
1.3. Desktop development with C++
In Summary field, marks should be on these items:
-
Universal Windows Platform development
1.1. Blend for Visual Studio
1.2. .NET Native and .NET Standard
1.3. NuGet package manager
1.4. Universal Windows Platform tools
1.5. Windows 10 SDK (10.0.17134.0)
1.6. Graphics debugger and GPU profiler for DirectX -
.NET desktop development
2.1. .NET desktop development tools
2.2. .NET Framework 4.6.1 development tools
2.3. C# and Visual Basic
2.4. Blend for Visual Studio
2.5. .NET profiling tools
2.6. Just-In-Time debugger -
Desktop development with C++
3.1. Visual C++ core desktop features
3.2. Just-In-Time debugger
3.3. VC++ 2017 version 15.7 v14.14 latest v141 tools
3.4. C++ profiling tools
3.5. Windows 10 SDK (10.0.17134.0)
3.6. Visual C++ tools for CMake
3.7. Visual C++ ATL for x86 and x64
3.8. Test Adapter for Boost.Test
3.9. Test Adapter for Google Test
Get online installer here.
In Select Component
step check these components:
In Qt:
- Qt 5.10.0
1.1. MSVC 2015 32-bit
1.2. MSVC 2015 64-bit
1.3. MSVC 2017 64-bit
1.4. Sources
1.5. Qt Charts
1.6. Qt WebEngine
1.7. Qt Network Authorization
1.8. Qt Remote Objects (TP)
1.9. Qt WebGL Streaming Plugin (TP)
1.10. Qt Script (Deprecated)
- Tools
2.1. Qt Creator 4.6.1 CDB Debugger Support
2.2. Qt Installer Framework 3.0
Get installer here
Check if PATH variable contains git directory:
- Open Command Prompt
- run
echo %PATH%
command
- check if PATH contains
..\Git\cmd
directory
3.1. if it doesn't contain, pressWin+S
to open search
3.2. type inEdit the system environment variables
, pressEnter
3.3. pressEnvironment Variables...
3.4. inSystem variables
panel double click onPath
variable.
3.5. PressNew
then, add..\installedDirectory\Git\cmd
(default directory isC:\Program Files\Git\cmd
)
3.6. PressOK
and close these windows.
After Cloning Control Center repository step, there is one more thing to do - CC requires these libraries. Extract these three libraries to control-center\libssh2\lib\win32
directory.
Get online installer here.
If it is not installing (.run file), try this:
- open terminal in directory of 'qt-unified-linux-x64-3.0.4-online.run' (versions may vary) file.
- run this command:
chmod +x qt-unified-linux-x64-3.0.4-online.run
.
- run installer by double-clicking on it.
In Select Component
step check these components:
In Qt:
- Qt 5.10.0
1.1. Desktop gcc 64-bit
1.2. Sources
1.3. Qt Charts
1.4. Qt WebEngine
1.5. Qt Network Authorization
1.6. Qt Remote Objects (TP)
1.7. Qt WebGL Streaming Plugin (TP)
1.8. Qt Script (Deprecated)
- Tools
2.1. Qt Installer Framework 3.0
Also install these components:
- generic font configuration library - runtime
1.1. run this command in terminal:sudo apt-get install libfontconfig1
- OpenGL libraries
1.1. run this command in terminal:sudo apt-get install mesa-common-dev
1.2. run this command in terminal:sudo apt-get install libglu1-mesa-dev -y
If you face troubles, please read this wiki.
- just run these commands in terminal:
1.1.sudo apt-get update
1.2.sudo apt-get upgrade
1.3.sudo apt-get install git
- just run these commands in terminal:
1.1.sudo apt-get install libssh2-1-dev
1.2.sudo apt-get install libssh-dev
You can install it from App Store. Simply open App Store, search for Xcode and install it. If you are facing compatibility problems (old version of Mac etc.), find older version of Xcode here.
Get online installer here.
In Select Component
step check these components:
In Qt:
- Qt 5.9.0 or higher version
1.1. macOS
1.2. Sources
1.3. Qt Charts
1.4. Qt WebEngine
1.5. Qt Network Authorization
1.6. Qt Remote Objects (TP)
1.7. Qt WebGL Streaming Plugin (TP)
1.8. Qt Script (Deprecated)
- Tools
2.1. Qt Creator 4.6.1
2.2. Qt Installer Framework 3.0
Get installer here
- just run this command in terminal:
1.1.brew install libssh2
- Go to profile settings
- Go to SSH and GPG keys
- Add New SSH key
3.1. Adding SSH keys
- Download
4.1. Go to CC github page
4.2. PressClone or download
4.3. PressUse SSH
4.4. Copy the SSH address
4.5. Run this command in terminal/cmd:git clone 'paste SSH address from step 4.4 here, without quotes'