Giter VIP home page Giter VIP logo

deepin-boot-maker's Introduction

The backend is fork from unetbootin just now. however, it will rewrite sooner or later, maybe.

Deepin Boot Maker is help for user to create a boot usb stick quick and easy, it designed to support only deepin install iso, but it can can work for all ubuntu live install iso too.

深度启动器制作工具是用来帮助用户简单便捷的制作启动U盘的工具. 设计上只支持深度系统安装镜像,但实际上Ubuntu Live系列的镜像都是可以支持的.

duc

系统支持:

Windows平台:

Windows 7/ Windows 8

需要安装显卡驱动

Windows XP

需要安装显卡驱动

需要更新最新版本的DirectX

Direct X环境安装包:

DirectX Redist Package 地址:DirectX Redist Package

或者使用DirectX Runtime在线安装工具:dxwbsetup

Linux平台:

Ubuntu12.04/Ubuntu14.04/Deepin 14.04

安装以下软件包

sudo apt-get install syslinux  p7zip mtools libgl1-mesa-dri libx11-xcb1 libsm6 \
libxcb1 libfontconfig1 libxrender1 libpng12-0 libgl1-mesa-dev

Mac:

直接安装DMG文件

不支持Mac OS 10.10(可以使用命令行直接运行MacOS目录下的二进制文件)

开发指南

开发环境:Qt5.3 请注意以下事项:

  1. 现有阶段代码主要为静态编译准备,qt5.3中的qtquick qml文件是直接打包在qrc文件中发布的,使用其他版本的qt可能导致兼容性问题。
  2. 如需要动态编译版本,请注意修改代码相应位置,以后会做出相应支持。

Windows平台:

开发环境: Windows 7 64bit + msvc2010 + WinSDK 8.1+Qt5.3

1.如果准备支持Windows XP,请自行编译静态或者动态版本的Qt 5.3 with angle版本。编译参数:

set DXSDK_DIR="C:\Program Files (x86)\Windows Kits\8.0\Include\um"
configure -prefix "C:\Qt\QtStatic\5.3\vs2010" -release -platform win32-msvc2010 \
-no-qml-debug -confirm-license -opensource -static -qt-pcre -no-icu -no-sql-sqlite \
-no-nis -no-cups -no-iconv -no-dbus -nomake examples -no-sql-odbc -no-compile-examples \
-skip qtwebkit -skip qtwebkit-examples -skip qtactiveqt -no-openssl -qt-zlib \
-qt-libpng -qt-freetype -qt-libjpeg -opengl es2 -angle

注意: 1.不要编译icu,不然发布时会附带30M左右的icu支持的dll 2.静态编译版本,如果程序运行需要libegl相关dll,请自行编译angle。需要win7系统,msvc 2010。详细编译参数参考

Angle编译

2.如果不准备支持Windows XP,则可以使用官方版本的Qt with mingw 进行静态编译:

configure -prefix "D:\Qt\QtStatic\mingw5.3" -debug-and-release -platform win32-g++ \
-confirm-license -opensource -static -qt-pcre -no-icu -no-sql-sqlite -no-nis -no-cups \
-no-iconv -no-dbus -nomake examples  -no-sql-odbc -no-compile-examples -skip qtwebkit \
-skip qtwebkit-examples -skip qtactiveqt -no-openssl -qt-zlib -no-angle -opengl desktop

Mac平台:

Macx 10.9 + Qt5.3

1.设置Qt路径

export QtInstallPath=/User/yourhome/Qt5.3/5.3/clang_64
export PATH=$QtInstallPath/bin:$PATH

2.编译

cd src
qmake -r deepin-boot-maker.pro
make
macdeployqt ../build/release/deepin-boot-maker.app

3.附加qml运行库

cp $QtInstallPath/qml/QtQuick/Dialogs/libdialogplugin.dylib ../build/release/deepin-boot-maker.app/Contents/MacOS/
cp $QtInstallPath/qml/QtQuick/Controls/libqtquickcontrolsplugin.dylib  ../build/release/deepin-boot-maker.app/Contents/MacOS/
cp $QtInstallPath/qml/QtQuick/Window.2/libwindowplugin.dylib ../build/release/deepin-boot-maker.app/Contents/MacOS/
cp $QtInstallPath/qml/QtQuick.2/libqtquick2plugin.dylib ../build/release/deepin-boot-maker.app/Contents/MacOS/
cp $QtInstallPath/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.dylib ../build/release/deepin-boot-maker.app/Contents/MacOS/

deepin-boot-maker's People

Contributors

iceyer avatar liquorsword avatar snyh avatar hualet avatar

Watchers

lshain avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.