You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vmprofiler-qt/src/main.cpp

22 lines
567 B

#include <QtWidgets/QApplication>
#include <QFile>
#include <QTextStream>
#include "qvminspector.h"
#include "qvirt_instrs.h"
#include "framelesswindow.h"
#include "DarkStyle.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QApplication::setStyle(new DarkStyle);
FramelessWindow frameless_window;
const auto window = new qvminspector_t;
qvirt_instrs_t virt_instr( window );
frameless_window.setContent( window );
frameless_window.setWindowIcon(QIcon("icon.ico"));
frameless_window.show();
return app.exec();
}