What method exists that I can use step by step to create a bootable USB Drive with multiple images than can be booted from the USB and selected from GRUB. If it allows more systems and multiple ISOs it would be awesome) The default Startup Disk Creator only works with Linux Images and only 1 at a time (At least for the mean time. I have several ISO images that I want to install in the USB like Ubuntu, Fedora, System Rescue CD, Windows XP and Windows 7 (The windows versions are optional, mostly am looking for a multi installer for Linux distros, specially Ubuntu version) If you get mingw errors relating to "qatomic-windows.h" or "InterlockedCompareExchange" open the file src/corelib/arch/qatomic_windows.What I want is to create a bootable pen drive that shows GRUB menu and I can select any of the several bootable systems from there to install/run. You can check the version by running "qmake -version". If you run into errors while running qmake or other qt build commands, make sure you're using the qt4 version not the qt3 one by adding -qt4 to the end of the commands (qmake-qt4). Then go to the src/unetbootin directory and run. Then move the qt4-mac folder into the src/unetbootin directory (same one containing unetbootin.pro) Next download qt4.8. or qt4.6. Įxtract qt4.6. using The Unarchiver, to get the directory qt4-mac. Qmake "DEFINES += STATICWINDOWS" "RESOURCES += unetbootin-windows.qrc unetbootin-sevnz.qrc" "RC_FILE += ubnembed.rc"įor more information see Compiling Qt Projects with Microsoft Visual C++ Instructions (Mac OS X)ĭownload and install XCode, and install the XCode Command Line Tools from there. To reduce file size, compress the executable using upx ( ) Qmake -spec win32-g++ "DEFINES += STATICWINDOWS" "RESOURCES += unetbootin-windows.qrc unetbootin-sevnz.qrc" "RC_FILE += ubnembed.rc" "QMAKE_LFLAGS += -Wl,-subsystem,windows" Go to the directory containing the source files (unetbootin.cpp, main.cpp, unetbootin.pro, etc.), and run "./build" to automate steps 4 and 5, or to do it manually, run the following commands: If cross-compiling on Ubuntu, simply copy the file nf to /usr/share/qt4/mkspecs/win32-g++/nfĬopy over your statically linked Windows qt4 install directory to /usr/i586-mingw32msvc/Qt/ Set up cross-compile environment (instructions from ) Instructions (Manual)īuild a statically linked Qt4 for Windows (instructions from and ) Statically linked UNetbootin binaries should be generated in the release subdirectory. cd to the UNetbootin build directory, and run the script "./build"ĥ. Move the qt4-win and qt4-x11 directories into the UNetbootin build directory (the same directory containing the files unetbootin.cpp and unetbootin.pro, which is src/unetbootin in the git repository.Ĥ. Extract those files using 7-zip or p7zip-full on Linux, to get the directories "qt4-win" and "qt4-x11"ģ. If you'd like to build statically linked versions of Qt4 yourself, use the manual instructions instead.įor Mac OS X: qt4.8. or qt4.6. Ģ. These instructions use pre-compiled versions of static Qt4 for Windows and Linux. ![]() I build on Fedora 10 and Ubuntu 8.04 with g++ and mingw32, though it should work on other distributions as well. They are the type that is available for download on the website. Statically linked builds are most useful for standalone deployment, not packaging. If building a package, add "syslinux", "p7zip-full", "libqt4-core" (libQtCore.so.4), "libqt4-gui" (libQtGui.so.4), and "libqt4-network" (libQtNetwork.so.4) as dependencies. ts files when lrelease-qt4 was run) in the /usr/share/unetbootin/ directory to enable the usage of localization.ĥ. If building a package, place the unetbootin_*.qm files (which were generated from the. A dynamically linked executable which you can package will then be generated at "unetbootin"Ĥ. Qmake-qt4 "DEFINES += NOSTATIC" "RESOURCES -= unetbootin.qrc"ģ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |