-
Notifications
You must be signed in to change notification settings - Fork 51
Doc Bug: Code Submission · QGroundControl Developer Guide QGC does not work correctly when built with cmake on windows #166
Comments
I did this too. It started working when I deleted the QtQuick.dll file in the build folder after compiling. |
@DonLakeFlyer Is there some kind of bug here for CMake? I don't want to update build instructions if this is a config issue. |
yes, I think there is a bug in the cmake part. When I compile with qt creator, it works fine on the qmake side, but when I build with cmake, it gives an error. successfully built but gave QtQuict errors at runtime Note: in the same way, when I did it on Linux, it was working without any errors. I wanted to continue on windows and I got these errors on the windows side. I encountered many more errors, now I am trying to solve them I do |
It gives an error when building with cmake in Windows operating system |
@DonLakeFlyer Can you comment/offer fix?
@ukb1 Yes. I'm hoping Don can offer a fix or an ETA or a suggestion. I don't want to debug this - right now AFAIK it is a QGC bug, not a docs bug. My only interest is the docs, and I don't want to patch the docs to "cover up" a toolchain bug. |
Overall I solved my problem and I'm still progressing thanks for your help |
DESCRIBE PROBLEM WITH DOCS HERE
Bug Page: Code Submission · QGroundControl Developer Guide
OS: Windows 10
QT Version: 5.15.2
Hi,
I tried to compile with both qmake and cmake on QGC Qt Creator.
When I compiled it with qmake, the codes compiled correctly. But when I try to compile with cmake it gives an error.
linux operating system is running. I think it's the bottom part.
if (WIN32) # append application icon resource for Windows set(QGC_RESOURCES ${QGC_RESOURCES} **${CMAKE_CURRENT_SOURCE_DIR}/windows/QGroundControl.rc)** endif()
Since there is no such path, it gives an error in the add_executable part. When switching to the win operating system, this part is opened.
${CMAKE_CURRENT_SOURCE_DIR}/windows/QGroundControl.rc)
path should be fixed to${CMAKE_CURRENT_SOURCE_DIR}/deploy/windows/QGroundControl.rc)
so that cmake will runAlthough it doesn't work as well as the result of compiling with qmake, at least cmake works on compiling.
Can this situation be controlled?
The text was updated successfully, but these errors were encountered: