File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ if [ $QTERMWIDGET -eq 1 ]; then
513513 cmake --build . --config Release --target install
514514 fi
515515 if [ ! -d ${INSTALL_DIR} /lib/cmake/qtermwidget6 ]; then
516- git clone -b 2.2.0 -- depth=1 https://github.com/lxqt /qtermwidget.git
516+ git clone -- depth=1 https://github.com/KangLin /qtermwidget.git
517517 cd qtermwidget
518518 cmake -E make_directory build
519519 cd build
Original file line number Diff line number Diff line change @@ -28,26 +28,19 @@ COperateTerminal::COperateTerminal(CPlugin *parent)
2828 + QDir::separator () + " share"
2929 + QDir::separator () + " qtermwidget6"
3030 + QDir::separator () + " color-schemes" );
31- QTermWidget::addCustomKeyboardLayoutDir (QApplication::applicationDirPath ()
31+ /* QTermWidget::addCustomKeyboardLayoutDir(QApplication::applicationDirPath()
3232 + QDir::separator() + "kb-layouts");
3333 QTermWidget::addCustomKeyboardLayoutDir(QApplication::applicationDirPath()
3434 + QDir::separator() + ".."
3535 + QDir::separator() + "share"
3636 + QDir::separator() + "qtermwidget6"
37- + QDir::separator () + " kb-layouts" );
37+ + QDir::separator() + "kb-layouts");// */
3838 m_pTerminal = new QTermWidget (0 );
3939 if (!m_pTerminal) {
4040 qCritical (log) << " new QTermWidget() fail" ;
4141 return ;
4242 }
4343 m_pTerminal->setAutoClose (true );
44- m_pTerminal->addCustomColorSchemeDir (QApplication::applicationDirPath ()
45- + QDir::separator () + " color-schemes" );
46- m_pTerminal->addCustomColorSchemeDir (QApplication::applicationDirPath ()
47- + QDir::separator () + " .."
48- + QDir::separator () + " share"
49- + QDir::separator () + " qtermwidget6"
50- + QDir::separator () + " color-schemes" );
5144
5245 bool check = false ;
5346 m_pTerminal->setContextMenuPolicy (Qt::CustomContextMenu);
Original file line number Diff line number Diff line change @@ -240,9 +240,10 @@ parts:
240240 # See 'snapcraft plugins'
241241 # see: https://snapcraft.io/docs/supported-plugins
242242 plugin : cmake # See: https://snapcraft.io/docs/cmake-plugin
243- source : https://github.com/lxqt /qtermwidget.git
243+ source : https://github.com/KangLin /qtermwidget.git
244244 source-type : git
245- source-tag : 2.2.0
245+ # source-tag: 2.2.0
246+ source-branch : master
246247 source-depth : 1
247248 after :
248249 - lxqt-build-tools
You can’t perform that action at this time.
0 commit comments