Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
winstatic:winstatic [27/08/2020 13:37] – scorpio810 | winstatic:winstatic [18/11/2023 07:44] (Version actuelle) – scorpio810 | ||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
(Preliminary) | (Preliminary) | ||
- | Today (2020-08-27) I managed to successfully create a static Windows build. | + | Today (2020-08-27) I // |
- | + | ||
- | Here is a partial description of the final path I took. | + | |
+ | Here is a partial description of the final path I took.\\ | ||
If I get a chance to do a clean VM build I should be able to fill in any blanks. | If I get a chance to do a clean VM build I should be able to fill in any blanks. | ||
- | This was on a Win7 box, I may try it on Win10 next. | + | This was on a Win7 box, I may try it on Win10 next.\\ |
Note that this WiKi entry should be updated with more details until it is a proper recipe for success! | Note that this WiKi entry should be updated with more details until it is a proper recipe for success! | ||
Ligne 16: | Ligne 14: | ||
- | -- Instructions at [[https:// | + | -- Instructions at [[https:// |
-- Download installer [[https:// | -- Download installer [[https:// | ||
- | == 2. Install build environment with pacman | + | == 2. Install build environment with pacman (" |
- | | + | [[https:// |
+ | <code bash> | ||
+ | pacman -Syuu | ||
+ | pacman -S package_name | ||
+ | </ | ||
Or install packages as required during attempted builds! | Or install packages as required during attempted builds! | ||
== 3. Install Qt5 Static build == | == 3. Install Qt5 Static build == | ||
| | ||
- | pacman -S mingw-w64-x86_64-qt5-static | + | <code bash> |
+ | pacman -S mingw-w64-x86_64-qt5-static | ||
+ | </ | ||
== 4. Install the extras required for Qet, kcoreaddons and kwidgetaddons == | == 4. Install the extras required for Qet, kcoreaddons and kwidgetaddons == | ||
Ligne 35: | Ligne 38: | ||
Fire up your Msys64 shell and: | Fire up your Msys64 shell and: | ||
- | + | <code bash> | |
- | | + | git clone https:// |
- | | + | cd MINGW-packages |
- | | + | cd mingw-w64-kcoreaddons-qt5 |
- | | + | KF5_VARIANT=static MINGW_INSTALLS=mingw64 makepkg-mingw -sLf |
- | | + | pacman -U mingw-w64-x86_64-kcoreddons-qt5-static-5.68.0-1-any.pkg.tar.zst |
- | | + | cd .. |
- | | + | cd cd mingw-w64-kwidgetsaddons-qt5 |
- | | + | KF5_VARIANT=static MINGW_INSTALLS=mingw64 makepkg-mingw -sLf |
- | | + | pacman -U mingw-w64-x86_64-kwidgetsaddons-qt5-static-5.68.0-1-any.pkg.tar.zst |
+ | </ | ||
== 5. Clone the qelectrotech main or mirror repo if not already done == | == 5. Clone the qelectrotech main or mirror repo if not already done == | ||
- | + | <code bash> | |
+ | git clone --recursive https:// | ||
+ | </ | ||
Details to be added: | Details to be added: | ||
- | Run up qtcreator from your Msys64 shell | + | Run up qtcreator from your Msys64 shell\\ |
- | + | Create a static build package, based on the static qmake\\ | |
- | Create a static build package, based on the static qmake | + | Open the qelectrotech.pro project from the repo\\ |
- | + | Attempt a build from qtcreator (which fails for me) (static, release only. debug is HUGE!)\\ | |
- | Open the qelectrotech.pro project from the repo | + | cd to the build directory where the qtcreator build failed\\ |
- | + | <code bash> | |
- | Attempt a build from qtcreator (which fails for me) (static, release only. debug is HUGE!) | + | mingw32-make |
- | + | </ | |
- | cd to the build directory where the qtcreator build failed | + | Which (for me) succeeds, despite appearing to run exactly the same commands that failed from qtcreator!\\ |
- | + | ||
- | | + | |
- | | + | |
- | Which (for me) succeeds, despite appearing to run exactly the same commands that failed from qtcreator! | + | |
- | | + | |
The whole install/ | The whole install/ | ||