mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 18:42:03 +08:00
修改
This commit is contained in:
@@ -32,7 +32,7 @@ CONFIG += embed_translations
|
|||||||
qnx: target.path = /tmp/$${TARGET}/bin
|
qnx: target.path = /tmp/$${TARGET}/bin
|
||||||
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||||||
!isEmpty(target.path): INSTALLS += target
|
!isEmpty(target.path): INSTALLS += target
|
||||||
unix:!macx: LIBS += -lqtermwidget5 # 这一行让我查了好久
|
unix:!macx: LIBS += -lqtermwidget5 -lapt-pkg # 这一行让我查了好久
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
Resources.qrc
|
Resources.qrc
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
#include "messagebox.h"
|
#include "messagebox.h"
|
||||||
#include <qtermwidget5/qtermwidget.h>
|
#include <qtermwidget5/qtermwidget.h>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
#include <qapt/debfile.h>
|
||||||
|
using namespace QApt;
|
||||||
|
|
||||||
MainWindow::MainWindow(QWidget *parent)
|
MainWindow::MainWindow(QWidget *parent)
|
||||||
: DMainWindow(parent)
|
: DMainWindow(parent)
|
||||||
@@ -13,6 +15,9 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
/*MessageBox *message = new MessageBox();
|
/*MessageBox *message = new MessageBox();
|
||||||
message->information("A", "B");
|
message->information("A", "B");
|
||||||
this->close();*/
|
this->close();*/
|
||||||
|
//QApt::DebFile *a = new QApt::DebFile();
|
||||||
|
//DebFile *abc = new DebFile("/tmp/apt_2.6.0-1deepin5_amd64.deb");
|
||||||
|
//QMessageBox::information(this, "", abc->version());
|
||||||
}
|
}
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
MainWindow::~MainWindow()
|
||||||
|
|||||||
Reference in New Issue
Block a user