Esempio n. 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()
Esempio n. 2
0
def build():
    autotools.make()

    # transmission with qt gui make.
    shelltools.cd("qt")
    qt5.make()
    qt5.make("translations")
Esempio n. 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' {} +"
    )
Esempio n. 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()
Esempio n. 5
0
def build():
    pisitools.dosed("pisido.pro", "-lqscintilla2", "-lqt5scintilla2")
    qt5.make()
Esempio n. 6
0
def build():
    shelltools.export("LD_LIBRARY_PATH", "%s/lib:%s" % (get.curDIR(), get.ENV("LD_LIBRARY_PATH")))
    qt5.make()
Esempio n. 7
0
def build():
    qt5.make("PREFIX=/usr")
Esempio n. 8
0
def build():
    shelltools.export("LD_LIBRARY_PATH",
                      "%s/lib:%s" % (get.curDIR(), get.ENV("LD_LIBRARY_PATH")))
    qt5.make()
Esempio n. 9
0
def build():
    qt5.make()
    qt5.make("docs")
Esempio n. 10
0
def build():
    shelltools.cd("build")
    qt5.make()
Esempio n. 11
0
def build():
    qt5.make("QMAKE=/usr/bin/qmake")
Esempio n. 12
0
def build():
    shelltools.cd("build")
    qt5.make()
Esempio n. 13
0
def build():
    qt5.make("QMAKE=/usr/bin/qmake")
Esempio n. 14
0
def build():
    autotools.make()

    shelltools.cd("qt")
    qt5.make()
    qt5.make("translations")
Esempio n. 15
0
def build():
    shelltools.cd("Kvantum")
    qt5.make()
Esempio n. 16
0
def build():
    pisitools.dosed("pisido.pro", "-lqscintilla2", "-lqt5scintilla2")
    qt5.make()
Esempio n. 17
0
def build():
    qt5.make()

    shelltools.cd("plugins")
    qt5.configure("plugins.pro")
    qt5.make("-j4")
Esempio n. 18
0
def build():
    qt5.make()
    qt5.make("docs")
Esempio n. 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' {} +")
Esempio n. 20
0
def build():
    qt5.make()
    shelltools.chmod("icon.png", 0644)
Esempio n. 21
0
def build():
    qt5.make()

    shelltools.cd("plugins")
    qt5.configure("plugins.pro")
    qt5.make("-j4")
Esempio n. 22
0
def build():
    qt5.make()
Esempio n. 23
0
def build():
    shelltools.cd("Kvantum")
    qt5.make()