Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
winstatic:winstatic [27/08/2020 13:43] scorpio810winstatic:winstatic [18/11/2023 07:44] (Version actuelle) scorpio810
Ligne 17: Ligne 17:
  -- Download installer [[https://repo.msys2.org/distrib/x86_64/msys2-x86_64-20200720.exe]]  -- Download installer [[https://repo.msys2.org/distrib/x86_64/msys2-x86_64-20200720.exe]]
        
-== 2. Install build environment with pacman == +== 2. Install build environment with pacman ("pacman -Syuu" updates system, "pacman -S package_name" installs package)== 
-    ("pacman -Syuu" updates system, "pacman -S package_name" installs package)+[[https://www.msys2.org/wiki/MSYS2-installation/| Updating packages]] 
 +<code bash> 
 +pacman -Syuu 
 +pacman -S package_name 
 +</code>
 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 ==
  (Probably want to install default shared build as well)  (Probably want to install default shared build as well)
-   pacman -S mingw-w64-x86_64-qt5-static+<code bash> 
 +pacman -S mingw-w64-x86_64-qt5-static 
 +</code>
  
 == 4. Install the extras required for Qet, kcoreaddons and kwidgetaddons == == 4. Install the extras required for Qet, kcoreaddons and kwidgetaddons ==
Ligne 32: Ligne 38:
 Fire up your Msys64 shell and: Fire up your Msys64 shell and:
        
- +<code bash> 
-   git clone https://github.com/msys2/MINGW-packages.git +git clone https://github.com/msys2/MINGW-packages.git 
-   cd MINGW-packages +cd MINGW-packages 
-   cd mingw-w64-kcoreaddons-qt5 +cd mingw-w64-kcoreaddons-qt5 
-   KF5_VARIANT=static MINGW_INSTALLS=mingw64 makepkg-mingw -sLf +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 +pacman -U mingw-w64-x86_64-kcoreddons-qt5-static-5.68.0-1-any.pkg.tar.zst 
-   cd .. +cd .. 
-   cd cd mingw-w64-kwidgetsaddons-qt5 +cd cd mingw-w64-kwidgetsaddons-qt5 
-   KF5_VARIANT=static MINGW_INSTALLS=mingw64 makepkg-mingw -sLf +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 +pacman -U mingw-w64-x86_64-kwidgetsaddons-qt5-static-5.68.0-1-any.pkg.tar.zst 
 +</code>
  
 == 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://github.com/qelectrotech/qelectrotech-source-mirror.git 
 +</code>
 Details to be added: Details to be added:
  
Ligne 54: Ligne 62:
 Attempt a build from qtcreator (which fails for me) (static, release only. debug is HUGE!)\\ Attempt a build from qtcreator (which fails for me) (static, release only. debug is HUGE!)\\
 cd to the build directory where the qtcreator build failed\\ cd to the build directory where the qtcreator build failed\\
-   mingw32-make   +<code bash> 
 +mingw32-make    
 +</code>
 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/build should be scriptable.  The whole install/build should be scriptable. 
  
  
Imprimer/exporter