File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ jobs:
438438 copy /Y ${{env.INSTALL_DIR}}\lib\*.dll install\bin
439439 copy /Y vcpkg_installed\${{matrix.VCPKG_TARGET_TRIPLET}}\bin\*.dll install\bin
440440 IF EXIST "${{env.INSTALL_DIR}}\share\qtermwidget6" (
441- copy /Y ${{env.INSTALL_DIR}}\share\qtermwidget6 install\share
441+ xcopy " ${{env.INSTALL_DIR}}\share\qtermwidget6" install\share /Y /S
442442 )
443443 C:\msys64\usr\bin\wget https://npcap.com/dist/npcap-1.80.exe
444444 copy npcap-1.80.exe install\bin
Original file line number Diff line number Diff line change @@ -513,8 +513,9 @@ 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 https://github.com/KangLin /qtermwidget.git
517517 cd qtermwidget
518+ git checkout keyboardlayout
518519 cmake -E make_directory build
519520 cd build
520521 cmake .. -DCMAKE_BUILD_TYPE=Release \
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 : keyboardlayout
246247 source-depth : 1
247248 after :
248249 - lxqt-build-tools
You can’t perform that action at this time.
0 commit comments