View Issue Details

IDProjectCategoryView StatusLast Update
0002946Virtual Moon Atlas1-Softwarepublic26-09-03 09:02
ReporterMoony Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformPCOSLinuxOS Version64bit
Summary0002946: Atlun - blank display with QT5
DescriptionHello,

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
TagsNo tags attached.
Attached Files
atlun_blank.png (167,265 bytes)   
atlun_blank.png (167,265 bytes)   

Relationships

related to 0002948 new Offer to contribute a native macOS (Apple Silicon) port of Virtual Moon Atlas 

Activities

Patrick Chevalley

26-08-30 10:09

administrator   ~0009932

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.

Moony

26-08-30 14:27

reporter   ~0009933

Thank you, I understand now. Feel free to close this ticket then, unless you plan on using it as a tracking issue ?

Issue History

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