This commit is contained in:
gfdgd xi 2024-01-26 12:44:14 +08:00
parent 497b23fe8d
commit d067983c0d
2 changed files with 6 additions and 1 deletions

@ -32,7 +32,7 @@ CONFIG += embed_translations
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
unix:!macx: LIBS += -lqtermwidget5 # 这一行让我查了好久
unix:!macx: LIBS += -lqtermwidget5 -lapt-pkg # 这一行让我查了好久
RESOURCES += \
Resources.qrc

@ -4,6 +4,8 @@
#include "messagebox.h"
#include <qtermwidget5/qtermwidget.h>
#include <QMessageBox>
#include <qapt/debfile.h>
using namespace QApt;
MainWindow::MainWindow(QWidget *parent)
: DMainWindow(parent)
@ -13,6 +15,9 @@ MainWindow::MainWindow(QWidget *parent)
/*MessageBox *message = new MessageBox();
message->information("A", "B");
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()