GithubHelp home page GithubHelp logo

Doc Bug: Code Submission · QGroundControl Developer Guide QGC does not work correctly when built with cmake on windows about qgc-dev-guide HOT 6 OPEN

mavlink avatar mavlink commented on July 28, 2024
Doc Bug: Code Submission · QGroundControl Developer Guide QGC does not work correctly when built with cmake on windows

from qgc-dev-guide.

Comments (6)

hamishwillee avatar hamishwillee commented on July 28, 2024 2

@DonLakeFlyer Is there some kind of bug here for CMake? I don't want to update build instructions if this is a config issue.

from qgc-dev-guide.

serkanMzlm avatar serkanMzlm commented on July 28, 2024 1

I did this too. It started working when I deleted the QtQuick.dll file in the build folder after compiling.

from qgc-dev-guide.

serkanMzlm avatar serkanMzlm commented on July 28, 2024 1

@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.
I think the error is due to the wrong file path.
so on line 192 of the main cmake file
I changed the code ${CMAKE_CURRENT_SOURCE_DIR}/windows/QGroundControl.rc) to ${CMAKE_CURRENT_SOURCE_DIR}/deploy/windows/QGroundControl.rc)

successfully built but gave QtQuict errors at runtime
For this issue I deleted the QtQuick.dll file in the build folder. The reason I do this is because it finds the Qt5QtQuick.dll file directly on the system. it worked like this

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 git clone --recursive -j8 https://github.com/mavlink/qgroundcontrol.git to download the code

from qgc-dev-guide.

ukb1 avatar ukb1 commented on July 28, 2024

@DonLakeFlyer Is there some kind of bug here for CMake? I don't want to update build instructions if this is a config issue.

It gives an error when building with cmake in Windows operating system

from qgc-dev-guide.

hamishwillee avatar hamishwillee commented on July 28, 2024

@DonLakeFlyer Can you comment/offer fix?

@DonLakeFlyer Is there some kind of bug here for CMake? I don't want to update build instructions if this is a config issue.

It gives an error when building with cmake in Windows operating system

@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.

from qgc-dev-guide.

ukb1 avatar ukb1 commented on July 28, 2024

@DonLakeFlyerYorum / düzeltme önerebilir misiniz?

@DonLakeFlyerBurada CMake için bir tür hata mı var? Bu bir sorunuysa, güncellemelerini güncellemek istemiyorum.

Windows işletim sistemini çalıştırırken hata veriyor.

@ukb1Evet. Don'un bir düzeltme, tahminin gerçekleşme süresi veya bir öneri sunabileceğini tahmin ediyoruz. Bu hatayı önlemek istemiyorum - şu anda AFAIK bu bir QGC hatası, bir dokümantasyon hatası değil. Tek ilgi alanım dokümanlar ve bir araç zinciri hatasını "örtbas etmek" için dokümanları yamalamak istemiyorum.

Overall I solved my problem and I'm still progressing thanks for your help

from qgc-dev-guide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.