Skip to content

Commit

Permalink
Format print of qrc files & change main.qml path on Win
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkoStanojevic12 committed Oct 21, 2024
1 parent 72656d5 commit c8409d9
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions MaterialTester/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,23 @@ int main(int argc, char *argv[])
{
// qputenv("QSG_VISUALIZE", "batches");

#ifdef Q_OS_WIN
qputenv("MAIN_QML","../MaterialTester/Main.qml");
#else
qputenv("MAIN_QML","../../../MaterialTester/Main.qml");
#endif

QGuiApplication app(argc, argv);
// // output qrc files:
// {
// qDebug() << "qrc files:";
// QDirIterator it(":", QDirIterator::Subdirectories);
// while (it.hasNext()) {
// const auto path = it.next();
// const auto file = QFile(path);
// qDebug() << path << " size: " << file.size() / 1024 << "kb";
// }
// }

// output qrc files:
// {
// qDebug() << "qrc files:";
// QDirIterator it(":", QDirIterator::Subdirectories);
// while (it.hasNext()) {
// const auto path = it.next();
// const auto file = QFile(path);
// qDebug() << QString("%1 kb - %2")
// .arg(file.size() / 1024, 6)
// .arg(path);
// }
// }

CustomEngine engine;
Clipboard clipboard;

Expand Down

0 comments on commit c8409d9

Please sign in to comment.