Skip to content

unraid/usb-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unraid USB Flash Creator

USB creator App for Unraid

An easy to use application to create bootable USB flash for Unraid. Runs on Windows and macOS operating systems. Linux support coming soon.

Building for Windows

  1. Install Visual Studio 2022 Community Edition
  • during install, select only 'Desktop development with C++' under Workloads tab.
  • default options raised the space required to 6.83 GB
  1. Download and extract https://download.qt.io/official_releases/qt/6.2/6.3.1/submodules/qtbase-everywhere-src-6.3.1.zip to %USERPROFILE%\Downloads

  2. Download and extract https://download.qt.io/official_releases/qt/6.2/6.3.1/submodules/qt5compat-everywhere-src-6.3.1.zip to %USERPROFILE%\Downloads

  3. Download and extract https://download.qt.io/official_releases/qt/6.2/6.3.1/submodules/qttools-everywhere-src-6.3.1.zip to %USERPROFILE%\Downloads

  4. Open 'Developer Command Prompt for VS 2022' app and type the following in the console:

cd %USERPROFILE%\Downloads\qtbase-everywhere-src-6.3.1

configure.bat -static -static-runtime -no-shared -release -opensource -confirm-license -silent -platform win32-msvc -prefix C:\Qt\6.3.1-static -nomake examples -nomake tests -nomake tools -no-strip -no-cups -no-openvg -no-plugin-manifests -no-dbus -no-directwrite -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-harfbuzz -qt-freetype -DFEATURE_openssl=OFF -DFEATURE_schannel=ON
  1. Edit mkspecs/common/msvc-desktop.conf and change -MD to -MT

  2. Back in the 'Developer Command Prompt for VS 2022' app, type in:

cmake --build . --parallel
cmake --install .

cd %USERPROFILE%\Downloads\qt5compat-everywhere-src-6.3.1
C:\Qt\6.3.1-static\bin\qt-configure-module.bat .
cmake --build . --parallel
cmake --install .

cd %USERPROFILE%\Downloads\qttools-everywhere-src-6.3.1
C:\Qt\6.3.1-static\bin\qt-configure-module.bat .
cmake --build . --parallel
cmake --install .

Building for MacOS

  1. Install XCode 13+ with Command-line tools and brew install cmake

  2. Open a command prompt and type the following in the console:

mkdir -p ~/Downloads ~/Qt
cd ~/Downloads
wget https://download.qt.io/official_releases/qt/6.2/6.3.1/submodules/qtbase-everywhere-src-6.3.1.tar.xz
wget https://download.qt.io/official_releases/qt/6.2/6.3.1/submodules/qt5compat-everywhere-src-6.3.1.tar.xz
wget https://download.qt.io/official_releases/qt/6.2/6.3.1/submodules/qttools-everywhere-src-6.3.1.tar.xz
tar xf qtbase-everywhere-src-6.3.1.tar.xz
tar xf qt5compat-everywhere-src-6.3.1.tar.xz
tar xf qttools-everywhere-src-6.3.1.tar.xz
cd qtbase-everywhere-src-6.3.1

./configure -static -no-shared -release -opensource -confirm-license -silent -prefix ~/Qt/6.3.1-static -nomake examples -nomake tests -no-strip -no-cups -no-openvg -no-plugin-manifests -no-dbus -no-directwrite -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-harfbuzz -qt-freetype -- -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"

cmake --build . --parallel
cmake --install .

cd ~/Downloads/qt5compat-everywhere-src-6.3.1
~/Qt/6.3.1-static/bin/qt-configure-module .
cmake --build . --parallel
cmake --install .

cd ~/Downloads/qttools-everywhere-src-6.3.1
~/Qt/6.3.1-static/bin/qt-configure-module .
cmake --build . --parallel
cmake --install .