Пример #1
0
def build():
    shelltools.system("cp -rf Python Python3")
    shelltools.cd("Qt4Qt5")
    qt5.make()

    shelltools.cd("../designer-Qt4Qt5/")
    qt5.make()

    # Get Makefile of qscintilla-python via sip
    shelltools.cd("../Python")
    pythonmodules.run(
        "configure.py -n ../Qt4Qt5 -o ../Qt4Qt5 -c --pyqt=PyQt5 --pyqt-sipdir=/usr/share/sip/Py2Qt5 --qsci-sipdir=/usr/share/sip/Py2Qt5 --sip-incdir=/usr/lib/python2.7/site-packages --qmake /usr/bin/qmake"
    )
    pisitools.dosed("Makefile", "/usr/include/qt/QtPrintSupport",
                    "/usr/include/qt5/QtPrintSupport")
    pisitools.dosed("Makefile", "/usr/include/qt/QtWidgets",
                    "/usr/include/qt5/QtWidgets")
    autotools.make()

    shelltools.cd("../Python3")
    pythonmodules.run(
        "configure.py -n ../Qt4Qt5 -o ../Qt4Qt5 -c --pyqt=PyQt5 --qmake /usr/bin/qmake",
        pyVer="3")
    pisitools.dosed("Makefile", "/usr/include/qt/QtPrintSupport",
                    "/usr/include/qt5/QtPrintSupport")
    pisitools.dosed("Makefile", "/usr/include/qt/QtWidgets",
                    "/usr/include/qt5/QtWidgets")
    autotools.make()
Пример #2
0
def build():
    autotools.make()

    # transmission with qt gui make.
    shelltools.cd("qt")
    qt5.make()
    qt5.make("translations")
Пример #3
0
def build():
    qt5.make()
    # Fix docs build when qt is not installed
    shelltools.system(
        'sed -i "s|/usr/lib/qt/bin/qhelpgenerator|${QTDIR}/qttools/bin/qhelpgenerator|g" Source/Makefile.api'
    )
    shelltools.system(
        "find -name Makefile -exec sed -i 's|/usr/lib/qt/bin/qmlplugindump|${QTDIR}/qtdeclarative/bin/qmlplugindump|g' {} +"
    )
Пример #4
0
def build():
    shelltools.system("cp -rf Python Python3")
    shelltools.cd("Qt4Qt5")
    qt5.make()

    shelltools.cd("../designer-Qt4Qt5/")
    qt5.make()

    # Get Makefile of qscintilla-python via sip
    shelltools.cd("../Python")
    pythonmodules.run("configure.py -n ../Qt4Qt5 -o ../Qt4Qt5 -c --pyqt=PyQt5 --pyqt-sipdir=/usr/share/sip/Py2Qt5 --qsci-sipdir=/usr/share/sip/Py2Qt5 --sip-incdir=/usr/lib/python2.7/site-packages --qmake /usr/bin/qmake-qt5")
    pisitools.dosed("Makefile", "/usr/include/qt/QtPrintSupport", "/usr/include/qt5/QtPrintSupport")
    pisitools.dosed("Makefile", "/usr/include/qt/QtWidgets", "/usr/include/qt5/QtWidgets")
    autotools.make()

    shelltools.cd("../Python3")
    pythonmodules.run("configure.py -n ../Qt4Qt5 -o ../Qt4Qt5 -c --pyqt=PyQt5 --qmake /usr/bin/qmake-qt5", pyVer = "3")
    pisitools.dosed("Makefile", "/usr/include/qt/QtPrintSupport", "/usr/include/qt5/QtPrintSupport")
    pisitools.dosed("Makefile", "/usr/include/qt/QtWidgets", "/usr/include/qt5/QtWidgets")
    autotools.make()
Пример #5
0
def build():
    pisitools.dosed("pisido.pro", "-lqscintilla2", "-lqt5scintilla2")
    qt5.make()
Пример #6
0
def build():
    shelltools.export("LD_LIBRARY_PATH", "%s/lib:%s" % (get.curDIR(), get.ENV("LD_LIBRARY_PATH")))
    qt5.make()
Пример #7
0
def build():
    qt5.make("PREFIX=/usr")
Пример #8
0
def build():
    shelltools.export("LD_LIBRARY_PATH",
                      "%s/lib:%s" % (get.curDIR(), get.ENV("LD_LIBRARY_PATH")))
    qt5.make()
Пример #9
0
def build():
    qt5.make()
    qt5.make("docs")
Пример #10
0
def build():
    shelltools.cd("build")
    qt5.make()
Пример #11
0
def build():
    qt5.make("QMAKE=/usr/bin/qmake")
Пример #12
0
def build():
    shelltools.cd("build")
    qt5.make()
Пример #13
0
def build():
    qt5.make("QMAKE=/usr/bin/qmake")
Пример #14
0
def build():
    autotools.make()

    shelltools.cd("qt")
    qt5.make()
    qt5.make("translations")
Пример #15
0
def build():
    shelltools.cd("Kvantum")
    qt5.make()
Пример #16
0
def build():
    pisitools.dosed("pisido.pro", "-lqscintilla2", "-lqt5scintilla2")
    qt5.make()
Пример #17
0
def build():
    qt5.make()

    shelltools.cd("plugins")
    qt5.configure("plugins.pro")
    qt5.make("-j4")
Пример #18
0
def build():
    qt5.make()
    qt5.make("docs")
Пример #19
0
def build():
    qt5.make()
    # Fix docs build when qt is not installed
    shelltools.system('sed -i "s|/usr/lib/qt/bin/qhelpgenerator|${QTDIR}/qttools/bin/qhelpgenerator|g" Source/Makefile.api')
    shelltools.system("find -name Makefile -exec sed -i 's|/usr/lib/qt/bin/qmlplugindump|${QTDIR}/qtdeclarative/bin/qmlplugindump|g' {} +")
Пример #20
0
def build():
    qt5.make()
    shelltools.chmod("icon.png", 0644)
Пример #21
0
def build():
    qt5.make()

    shelltools.cd("plugins")
    qt5.configure("plugins.pro")
    qt5.make("-j4")
Пример #22
0
def build():
    qt5.make()
Пример #23
0
def build():
    shelltools.cd("Kvantum")
    qt5.make()