-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(QGroundControl.exe:5684): GLib-GObject-CRITICAL **: 13:21:59.584: g_object_set: assertion 'G_IS_OBJECT (object)' failed #12189
Comments
rebase and try again now |
@HTRamsey Could you please explain what you mean by rebase? I'm feeling a bit lost with all of this, and I’d really appreciate your help! |
Actually sorry first make sure you have at least GStreamer 1.22 development and runtime installed. Then you can try to pull the latest change I just committed to this repo, but I think that's not your problem. It mostly just looks like gstreamer isn't installed. So that would be from: |
@HTRamsey Should i use master branch or Stable 4.0? |
Up to you. If you are using an old stable you should use QMake instead of CMake & gstreamer 1.18.6 instead of 1.22+. |
@HTRamsey I tried to add an image, for this i edited the qgcimages.qrc and when i run the code i get this error: i reverted the changes and now i still have the same problem, do you know what could be? |
I decided to reinstall the qground repository, when i tried to upload a new photo to qgcimages.qrc i get this error: (QGroundControl.exe:5684): GLib-GObject-CRITICAL **: 13:21:59.584: g_object_set: assertion 'G_IS_OBJECT (object)' failed Qground works but i dont see the new photo in my gui |
You can ignore the WaylandClient warning. did you look at the custom build stuff for more info on how to correctly add images? |
@HTRamsey Thank you for your help. The issue I had was related to the compilation process. It seems that making changes requiring compilation would cause it to fail, which is odd since the compilation should be dynamic, right? The process I followed was to delete the build folder and, instead of using Ninja to compile, I used Visual Studio with the following command in the terminal:
|
Oh okay gotcha. Qt also provides a cmake script called qt-cmake that you can probably use instead of calling cmake directly, which is what I use in the CI workflows. Are you still having any issues now? |
I am trying to compile my own version of QGroundControl. To do this, I followed the official QGroundControl tutorial and installed Qt 6.6.3. The thing is, when I try to build the code, I get the following error:
I have correctly selected the Qt 6.6.3 MSVC2019 64-bit kit.
The text was updated successfully, but these errors were encountered: