setup: made in easier to toggle profiling
This commit is contained in:
@@ -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)
|
||||
|
||||
2
main.cpp
2
main.cpp
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user