S
Size: a a a
S
RG
Parameter "showstatus" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.код, который работал < 6.0:
signals:
void signalBusy(bool showstatus);
c++:emit signalBusy(true);
QML:onSignalBusy: {
console.log("QML Signal busy")
if (showstatus === true) console.log("Retrived busy")
}
попытался вынести работу в функцию js с данной переменной, но все равно тогда получаю эту же самую ошибку.我
我
RG
我
RG
我
我
RG
RG
RG
CMake Error at /home/user/6.0.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:79 (message):
Failed to find Qt Platform dependency:
Package: Threads
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
что в 9ой строке в файле CMakeList.txt ?)find_package(Qt6 COMPONENTS Core)
Этот же CMakeFile.txt приложение в Qt 6.0 собирает. Ну и qmake тоже может собрать в 6.1 а вот CMake нет.Running /usr/local/bin/cmake '-GCodeBlocks - Unix Makefiles' -C /tmp/QtCreator-QfWOjJ/qtc-cmake-ubfTajHJ/qtcsettings.cmake /home/rgaraev/Project/opensource/app in /tmp/QtCreator-QfWOjJ/qtc-cmake-ubfTajHJ.
loading initial cache file /tmp/QtCreator-QfWOjJ/qtc-cmake-ubfTajHJ/qtcsettings.cmake
-- The CXX compiler identification is GNU 8.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found Vulkan: /usr/lib/x86_64-linux-gnu/libvulkan.so
-- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "0.8.2", minimum required is "0.5.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/QtCreator-QfWOjJ/qtc-cmake-ubfTajHJ
Elapsed time: 00:01.
Running /usr/local/bin/cmake '-GCodeBlocks - Unix Makefiles' /home/user/Project/opensource/qt/app in /tmp/QtCreator-QfWOjJ/qtc-cmake-QzAyEXUX.
-- Could NOT find Threads (missing: Threads_FOUND)
-- Configuring incomplete, errors occurred!
See also "/tmp/QtCreator-QfWOjJ/qtc-cmake-QzAyEXUX/CMakeFiles/CMakeOutput.log".
See also "/tmp/QtCreator-QfWOjJ/qtc-cmake-QzAyEXUX/CMakeFiles/CMakeError.log".
CMake Error at /home/user/6.0.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:79 (message):
Failed to find Qt Platform dependency:
Package: Threads
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
FS
-- Found Threads: TRUE
-------------------------------------------------------------------------------------
CMake Error at /home/user/6.0.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:79 (message):
Failed to find Qt Platform dependency:
Package: Threads
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
FS
RG
FS
FS
RG
RG
FS