Make icons work on CI deploy
MODIFY
Ripes.pro
Ripes.pro
-QT += widgets
+QT += widgets svg
CONFIG += c++14

MODIFY
src/mainwindow.cpp
src/mainwindow.cpp
MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), m_ui(new Ui::MainWindow) {
m_ui->setupUi(this);
setWindowTitle("Ripes");
- setWindowIcon(QIcon(QPixmap(":/icons/logo.png")));
+ setWindowIcon(QIcon(":/icons/logo.png"));
showMaximized();
// Setup tab bar
- m_ui->tabbar->addFancyTab(QIcon(QPixmap(":/icons/binary-code.svg")), "Editor");
- m_ui->tabbar->addFancyTab(QIcon(QPixmap(":/icons/cpu.svg")), "Processor");
- m_ui->tabbar->addFancyTab(QIcon(QPixmap(":/icons/ram-memory.svg")), "Memory");
+ m_ui->tabbar->addFancyTab(QIcon(":/icons/binary-code.svg"), "Editor");
+ m_ui->tabbar->addFancyTab(QIcon(":/icons/cpu.svg"), "Processor");
+ m_ui->tabbar->addFancyTab(QIcon(":/icons/ram-memory.svg"), "Memory");
// m_ui->tabbar->addFancyTab(QIcon(QPixmap(":/icons/server.svg")), "Cache");
// m_ui->tabbar->addFancyTab(QIcon(QPixmap(":/icons/graph.svg")), "Results");
connect(m_ui->tabbar, &FancyTabBar::activeIndexChanged, m_ui->stackedWidget, &QStackedWidget::setCurrentIndex);

Make icons work on CI deploy