View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002946 | Virtual Moon Atlas | 1-Software | public | 26-08-29 22:38 | 26-09-03 09:02 |
| Reporter | Moony | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Platform | PC | OS | Linux | OS Version | 64bit |
| Summary | 0002946: Atlun - blank display with QT5 | ||||
| Description | Hello, First of all, congratulations on Virtualmoonatlas, it's very neat. There's an Archlinux AUR package that compiles virtualmoonatlas' master branch, and it uses gtk2. Since gtk2's deprecated and not even in the main Arch repositories anymore, I tried building with LCL_PLATFORM=qt5 make instead. It built and installed fine, yet when launched, neither the moon nor the black background appeared. I have attached a screenshot of that. On the otherhand, photlun, for instance, worked fine. With GTK2, there weren't any problems. I am not sure whether QT5 is actually supported. If not so, I'd be interested in having QT5 support so that I can modernize the Archlinux package. I am no Pascal programmer and hence don't know large an effort that would be, though. Thanks for your help | ||||
| Steps To Reproduce | ./configure fpc=/usr/lib/fpc/3.0.4/units/x86_64-linux/ lazarus=/usr/lib/lazarus prefix=$pkgdir/usr LCL_PLATFORM=qt5 make | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| related to | 0002948 | new | Offer to contribute a native macOS (Apple Silicon) port of Virtual Moon Atlas |
|
|
Yes the Glscene component used for the Opengl interface only support gtk2. I make a dummy patch so it can be compiled for gtk2 from a qt5/6 IDE. This is why the qt5 compilation work but it do nothing at runtime. Adding low level support for qt5 is probably difficult and limited to this interface. A better solution is to replace the low level Glscene interface by the standard Lazarus Opengl interface that is maintened for every platform. But this is also à lot of work I not have the time to do right now. |
|
|
Thank you, I understand now. Feel free to close this ticket then, unless you plan on using it as a tracking issue ? |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 26-08-29 22:38 | Moony | New Issue | |
| 26-08-29 22:38 | Moony | File Added: atlun_blank.png | |
| 26-08-30 10:09 | Patrick Chevalley | Note Added: 0009932 | |
| 26-08-30 14:27 | Moony | Note Added: 0009933 | |
| 26-09-03 09:02 | Patrick Chevalley | Relationship added | related to 0002948 |