-
-
Notifications
You must be signed in to change notification settings - Fork 111
slspencer edited this page Jul 12, 2024
·
16 revisions
- Download & run the Qt installer from https://www.qt.io/download-open-source.
- During install, create an account and select the GPLv3+ license.
- Install these modules
- Qt v 5.15.2
- MSVC 2019 64-bit
- Qt Creator
- Qt Creator CDB Debugger Support
- If on Windows, select Debugging Tools for Windows
This example is for installing on Windows 10
-
Clone the
develop
branch from GitHub (https://github.com/fashionfreedom/seamly2d. -
Run Qt Creator and open project Seamly2D (browse to your cloned Seamly2d repo and select the Seamly2D.pro file.)
-
In the left-hand menu, select the Project wrench icon to open
Build Settings
- Select the
Manage Kits...
button in upper left
*Qt Versions
tab - SelectDesktop Qt 5.15.2 MSVC2019 64bit
, set as Default,Apply
*Compilers
tab - Under C++ selectMicrosoft Visual C++ Compiler 16.11.32630.194 (amd64)
,Apply
*Debuggers
tab - SelectC:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe
,Apply
*Kits
tab - * SelectDesktop Qt 5.12.2 MSVC2019 64bit (default)
* Check theForce UTF-8 MSVC compiler output
box * ClickOK
- Select the
-
For the first build, in the
Build
top menu, selectRun qmake
thenBuild Seamly2D for all configurations
-
For subsequent builds, in the
BUild
top menu, selectRebuild Seamly2D
-
In the left-hand menu
- Select
Debug
under the Desktop icon (looks like a TV) - Click the big green
Run
triangle with the bug icon - Seamly2D should open and you can begin testing your build
- Select
-
Test your build by creating or opening a pattern, creating and editing pattern pieces, and generating a layout.
-
If there are no problems, your branch is ready for a Pull Request.
- "msvc-version.conf loaded but QMAKE_MSC_VER isn't set"
- Edit your
C:\Qt\5.15.2\msvc2019_64\mkspecs\winrt-x64-msfc2019\qmake.conf
Qt make configuration file- Add
QMAKE_MSC_VER=1929
for MSVC 2019 - You can read more here
- Add
- Edit your