Make pgModeler from source code.
Операционная система Windows XP Pro 64-bit.
| ПО | Сайт | Установочный пакет | Путь установки |
|---|---|---|---|
| 7zip 64-bit | Посетить | Загрузить | По умолчанию |
| MSYS2 | Посетить | Загрузить | C:\msys64 |
Все команды выполняем в консоли C:\msys64\msys2_shell.cmd -mingw64
pacman -Suy
pacman -Suy
pacman -S base-devel mingw-w64-x86_64-make mingw-w64-x86_64-gcc mingw-w64-x86_64-postgresql mingw-w64-x86_64-qt6 git| Библиотека | Версия | Комментарий |
|---|---|---|
| mingw-w64-x86_64-make | 4.3 | GNU make utility to maintain groups of programs |
| mingw-w64-x86_64-gcc | 11.2.0 | GNU Compiler Collection (C,C++,OpenMP) |
| mingw-w64-x86_64-postgresql | 14.2 | Libraries for use with PostgreSQL |
| mingw-w64-x86_64-qt6... | 6.3.0 | Packages for Qt6 components |
| git | 2.35.3-1 | The fast distributed version control system |
mkdir c:/pgModelermkdir c:/repoНа момент написания статьи последняя версия сборки "1.0.0-alpha1". Загружаем исходный код с Github
cd c:/repo
git clone https://github.com/pgmodeler/pgmodeler.git
# Выбираем версию сборки
cd c:/repo/pgmodeler
git checkout 1.0.0-alpha1
# Загружаем подключаемые библиотеки
cd c:/repo/pgmodeler
git clone https://github.com/pgmodeler/plugins.gitcd c:/repo/pgmodeler
qmake6 -r CONFIG+=release PREFIX=C:/pgModeler pgmodeler.procd c:/repo/pgmodeler
makecd c:/repo/pgmodeler
make installcd c:/pgModeler
windeployqt-qt6.exe pgmodeler.exe gui.dll
cd c:/msys64/mingw64/bin/
cp libicuin*.dll libicuuc*.dll libicudt*.dll libpcre2-16-0.dll libharfbuzz-0.dll \
libpng16-16.dll libfreetype-6.dll libgraphite2.dll libglib-2.0-0.dll libpcre-1.dll \
libbz2-1.dll libssl-1_1-x64.dll libcrypto-1_1-x64.dll libgcc_s_seh-1.dll \
libstdc++-6.dll libwinpthread-1.dll zlib1.dll libpq.dll libxml2-2.dll liblzma-5.dll \
libiconv-2.dll libintl-8.dll libbrotlidec.dll libbrotlicommon.dll \
libdouble-conversion.dll libzstd.dll libmd4c.dll libb2-1.dll C:/pgModelercd c:/repo/pgmodeler
git submodule foreach --recursive "git clean -dfx" && git clean -dfx