qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

QGC Daily: Moved to Qt version 6.6.1 - Status

Open DonLakeFlyer opened this issue 2 years ago • 24 comments

How you can help:

  • Try out a daily build and report issues you find making sure to label the Issue with the "Qt6" label.
  • Recommendation is to try your scenarios in SITL first before using QGC Daily on a real vehicle flight
  • Join the discussion on the QGC discord channel for questions. Don't clutter GitHub Issues with questions.
  • If you can help with QGC development ask on QGC discord channel what remaining work you could help out with. Simplest thing is to find a FIXME-QT6 marker (see below) and fix it. Or find a known issue and fix it.

Current status:

  • Windows, Linux, Mac and Android builds are available from the normal Daily Build links on qgrouncontrol.com
  • You are likely to run into quirkiness/bugs in the UI. It is going to take some time to find all the missing changes to the Qml UI code in QGC.
  • The required changes to Qml although mostly mechanical in nature are not 100% discoverable through just code inspection. It's going to take running all the parts of the ui and verifying it works correctly to find the remaining needed changes.
  • The C++ code should be very close to 100% updated. Those issues show up at compile time as opposed to run time.
    • The largest changes were to the Map plugin which download tiles. So there may still be problems to wring out there.
  • The majority of the top level UI with respect to Vehicle Setup and flight of PX4 and ArduPilot vehicles has been tested to verify the basics are working correctly.
  • Plan View has had less focus and is likely to be more flaky than the rest of QGC.

Known Issues:

  • Linux
    • You must manually install sudo apt install libxcb-cursor0 yourself for the Appimage to boot. The AppImage generation script needs to be updated to fix this.
  • Android
    • Joystick, support is not working
  • Video is currently disabled in all OS types. Video support is still a WIP.
  • Unsure where custom-example stands. Likely needs testing/updates.
  • The code is also peppered with FIXME-QT6 comments which marks parts which still need work but at this point don't prevent QGC working at high level.

Building from master:

  • Docs are not yet updated. That will come in the future.
  • Qt version you need is 6.6.1
  • CI builds are still using qmake for build. So that is known to be in a working state. Transition to make for CI will start soonish.
  • Here is a screen shot of the modules needed from Mac OSX. You should be able to figure what you need in your OS from here: Screenshot 2023-12-01 at 6 45 33 PM

DonLakeFlyer avatar Dec 02 '23 02:12 DonLakeFlyer

@DonLakeFlyer Bluetooth is hidden in Connectivity

zdanek avatar Dec 02 '23 13:12 zdanek

Added info on what needs to happen to get android build working

DonLakeFlyer avatar Dec 02 '23 17:12 DonLakeFlyer

Link to daily build is broken

jstrebel avatar Dec 06 '23 11:12 jstrebel

I have ported Video stream to Qt6. First success under Ubuntu 22.04, Gstreamer 1.20, Wayland. More work needed. Next will be X11, Windows and Android. WIP.

Screenshot from 2023-12-06 16-07-53

zdanek avatar Dec 06 '23 15:12 zdanek

I tried android build using windows but got error

Capture1 Capture2

XMoonRiverX avatar Dec 06 '23 16:12 XMoonRiverX

FYI: I'm working on getting the android build running now

DonLakeFlyer avatar Dec 20 '23 15:12 DonLakeFlyer

Android is building now. Still needs more testing to find problems.

DonLakeFlyer avatar Dec 23 '23 18:12 DonLakeFlyer

Android USB support is working again

DonLakeFlyer avatar Jan 05 '24 17:01 DonLakeFlyer

Has there been a change how the unit tests can be run? If I add --unittest the app starts normally.

julianoes avatar Jan 15 '24 21:01 julianoes

Nope. It could be busted though. I'll look.

DonLakeFlyer avatar Jan 16 '24 02:01 DonLakeFlyer

It's working fine for me on master

DonLakeFlyer avatar Jan 16 '24 02:01 DonLakeFlyer

Is there a build flag that I might be missing?

julianoes avatar Jan 16 '24 02:01 julianoes

Only trigger for unit tests is debug build

DonLakeFlyer avatar Jan 16 '24 17:01 DonLakeFlyer

Aha, that might be the issue. Thanks.

julianoes avatar Jan 16 '24 17:01 julianoes

Looking forward the map plugin run. Qt6.6.1 so much change, this problem "qt.network.ssl: No functional TLS backend was found" copy "stl" Qt ../plugins/stl into project plugins then can be work

Kim-zhi-jiang avatar Jan 21 '24 01:01 Kim-zhi-jiang

@Kim-zhi-jiang

copy "stl" Qt ../plugins/stl into project plugins then can be work

Can you explain with more detail what we have to do? I don't quite understand. Are there docs about it somewhere?

julianoes avatar Jan 21 '24 21:01 julianoes

@Kim-zhi-jiang

copy "stl" Qt ../plugins/stl into project plugins then can be work

Can you explain with more detail what we have to do? I don't quite understand. Are there docs about it somewhere?

Xcb, X11, Xlib, Wayland Map plugin not work (Ubuntu 22.04 Qt 6.6.1 X11)
I'm a rookie, but I know it's really difficult to adapt to so much.

Kim-zhi-jiang avatar Jan 22 '24 01:01 Kim-zhi-jiang

@Kim-zhi-jiang

copy "stl" Qt ../plugins/stl into project plugins then can be work

Can you explain with more detail what we have to do? I don't quite understand. Are there docs about it somewhere?

I try install openssl1.1.1 in to Ubuntu 22.04 but failed. Hope to fix Qt 6.6. x in the next version How to build Qt 5.15 Community with OpenSSL 3

Kim-zhi-jiang avatar Jan 22 '24 14:01 Kim-zhi-jiang

My assumption was that Qt6 would come with OpenSSL 3 but does it still not?

julianoes avatar Jan 23 '24 00:01 julianoes

My assumption was that Qt6 would come with OpenSSL 3 but does it still not?

I also tried build the openssl 3 source code in the Qt6.6.1 tools. The map is still blank .

Kim-zhi-jiang avatar Jan 23 '24 01:01 Kim-zhi-jiang

I've run on Ubuntu 22 and the map worked fine. I haven't seen map problems on any OS. Are you using a standard daily build from CI or are you building yourself?

DonLakeFlyer avatar Jan 23 '24 05:01 DonLakeFlyer

New video support was just merge into daily builds. Woohoo!

DonLakeFlyer avatar Jan 23 '24 20:01 DonLakeFlyer

why I build master source code in the Qt6.6.3 is Daily version

jinglebang avatar May 16 '24 01:05 jinglebang

a a

jinglebang avatar May 16 '24 01:05 jinglebang