12345678910111213141516171819202122232425262728293031323334353637 |
- #include "widget.h"
- #include "./ui_widget.h"
- #include <QTimer>
- #include "spdlog/spdlog.h"
- #include "fmtlog.h"
- #include "VideoPlayer.h"
- Widget::Widget(QWidget *parent)
- : QWidget(parent)
- , ui(new Ui::Widget)
- {
- ui->setupUi(this);
- SPDLOG_INFO("***** Qt Library *****");
- }
- Widget::~Widget()
- {
- delete ui;
- }
- void Widget::on_pBtn_openVideo_clicked()
- {
- SPDLOG_INFO("点击了“打开视频”按钮");
-
- std::shared_ptr<VideoPlayer> videoPlayer = std::make_shared<VideoPlayer>();
-
- }
|