Skip to content

Commit 275dd21

Browse files
committed
fix build on windows
1 parent e3f41b3 commit 275dd21

4 files changed

Lines changed: 6 additions & 9 deletions

File tree

liteidex/src/plugins/terminal/terminal.pro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ include(../../api/terminalapi/terminalapi.pri)
66
include(../../utils/vterm/vterm.pri)
77
include(../../utils/tabwidget/tabwidget.pri)
88

9-
109
DEFINES += TERMINAL_LIBRARY
1110

1211
win32 {

liteidex/src/utils/vterm/vterm.pri

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
LIBS *= -l$$qtLibraryName(vterm)
1+
LIBS *= -l$$qtLibraryName(vtermwidget)
22
LIBS *= -l$$qtLibraryName(libvterm)
33
LIBS *= -l$$qtLibraryName(ptyqt)
44

5-
6-
7-

liteidex/src/utils/vterm/vterm.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
TARGET = vterm
1+
TARGET = vtermwidget
22
TEMPLATE = lib
33
CONFIG += staticlib
44

liteidex/src/utils/vterm/vtermwidgetbase.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,14 @@
2424
#ifndef VTERMWIDGETBASE_H
2525
#define VTERMWIDGETBASE_H
2626

27+
extern "C" {
28+
#include "libvterm/include/vterm.h"
29+
}
30+
2731
#include <QAbstractScrollArea>
2832
#include <QBasicTimer>
2933
#include <QDebug>
3034

31-
extern "C" {
32-
#include "libvterm/include/vterm.h"
33-
}
3435

3536
typedef struct
3637
{

0 commit comments

Comments
 (0)