On 20 August 2016 at 20:03, Anderson Torres <[email protected]> wrote: > Hello, Nixers! > > I am porting Lumina Desktop on NixOS[1]. After some hard work, it is > building fine, but I can't run it. When I tested it on a qemu vm, the > command start-lumina-desktop barfs: > > `QCoreApplication::applicationDirPath: Please instantiate the > QApplication object first` > > Can you help me, please?
Reading Lumina's source code, it appears it only calls that function before creating a QApplication if DISPLAY isn't set. Basically - you have to run Lumina from inside an X session to avoid that, attempting to have it start one itself seems to have a bug. > > > 1 - https://github.com/AndersonTorres/nixpkgs/tree/lumina-on-nixos > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
