setup: made in easier to toggle profiling

This commit is contained in:
2025-12-23 11:30:45 +01:00
parent 8fffe4d8e3
commit f01d539489
2 changed files with 2 additions and 1 deletions

View File

@@ -12,3 +12,4 @@ set (CMAKE_CXX_STANDARD 20)
add_executable(one main.cpp)
target_link_libraries(one m Qt6::Widgets Qt6::Gui)
# target_link_libraries(one m)

View File

@@ -89,7 +89,6 @@ int main(int argc, char *argv[]) {
begin)
.count()
<< "[ms]" << std::endl;
QApplication a(argc, argv);
uint8_t *pixel = new uint8_t[64 * 64 * 3];
/*for (int i = 0; i < 64 * 64 * 3; i++) {
@@ -115,6 +114,7 @@ int main(int argc, char *argv[]) {
}
}
}
QApplication a(argc, argv);
QWidget widget;
widget.setAutoFillBackground(true);
widget.setGeometry(0, 0, 500, 500);