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

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

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

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

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