Cleanup code

This commit is contained in:
Robin Dietzel 2023-12-05 21:32:22 +01:00
parent 9ff5c03e6e
commit 9abb7fcf26
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,3 @@
find_package(Qt6 COMPONENTS Core REQUIRED) find_package(Qt6 COMPONENTS Core REQUIRED)
add_executable(task3-chpt3ex12) add_executable(task3-chpt3ex12)
@ -7,4 +6,5 @@ target_sources(task3-chpt3ex12 PRIVATE
main.cpp) main.cpp)
target_link_libraries(task3-chpt3ex12 PRIVATE target_link_libraries(task3-chpt3ex12 PRIVATE
Qt6::Core) Qt6::Core
Qt6::Multimedia)

View File

@ -89,6 +89,7 @@ protected:
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
//QCoreApplication app(argc, argv); //QCoreApplication app(argc, argv);
QSemaphore lockC(1); QSemaphore lockC(1);
QSemaphore lockBC(0); QSemaphore lockBC(0);