Skip to content

cutegram: Build with qt59#33823

Closed
adisbladis wants to merge 1 commit intoNixOS:masterfrom
adisbladis:cutegram-qt59
Closed

cutegram: Build with qt59#33823
adisbladis wants to merge 1 commit intoNixOS:masterfrom
adisbladis:cutegram-qt59

Conversation

@adisbladis
Copy link
Copy Markdown
Member

@adisbladis adisbladis commented Jan 13, 2018

Motivation for this change

See #33798

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Builds and starts fine

cc @Profpatsch @AndersonTorres

@adisbladis adisbladis mentioned this pull request Jan 13, 2018
25 tasks
@GrahamcOfBorg GrahamcOfBorg added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jan 13, 2018
@Mic92
Copy link
Copy Markdown
Member

Mic92 commented Jan 13, 2018

I get:

$ cutegram
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/joerg/.data/mime", "/home/joerg/.nix-profile/share/mime", "/run/current-system/sw/share/mime")
QQmlComponent: Component is not ready
"file:///nix/store/dwsb51655dngkyl326w8kjjb7xx9gw0m-cutegram-2.7.1/share/cutegram/themes//Abrisham.qml:22 Type AsemanStyles.ButtonStyle unavailable\nqrc:///asemantools/qml/AsemanTools/Controls/Styles/Desktop/ButtonStyle.qml:3 module \"QtGraphicalEffects\" is not installed\n"
qrc:/qml/Cutegram/main.qml:5:1: module "QtGraphicalEffects" is not installed
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/joerg/.data/mime", "/home/joerg/.nix-profile/share/mime", "/run/current-system/sw/share/mime")

screen stays black: https://dl.thalheim.io/-zkYnTB9kNhIxBm4kGjSYQ/2018-01-13.vkuux.png

@adisbladis
Copy link
Copy Markdown
Member Author

@Mic92 I can reproduce similar behaviour on Qt 5.6 but after this commit things work as expected.

@adisbladis
Copy link
Copy Markdown
Member Author

ping @Profpatsch @AndersonTorres

@Profpatsch
Copy link
Copy Markdown
Member

I get yet another error (on xmonad, no KDE):

result/bin/cutegram 
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Reinstalling the application may fix this problem.
fish: “result/bin/cutegram” terminated by signal SIGABRT (Abort)

@Mic92
Copy link
Copy Markdown
Member

Mic92 commented Jan 24, 2018

@Profpatsch you need to install it into your profile because of qt. If you just run it from nix-shell or via ./result/bin it will not work

@Mic92
Copy link
Copy Markdown
Member

Mic92 commented Jan 24, 2018

@Profpatsch you need to install it into your profile because of qt. If you just run it from nix-shell or via ./result/bin it will not work. See also: #24256 (comment)

@Profpatsch
Copy link
Copy Markdown
Member

After putting in my system closure and reboot (current master):

> cutegram 
QQmlComponent: Component is not ready
"file:///nix/store/xyqbq9781wr3qqw1nd15w99li9pgmp38-cutegram-2.7.1/share/cutegram/themes//Abrisham.qml:3 module \"QtQuick\" is not installed\n"
qrc:/qml/Cutegram/main.qml:5:1: module "QtGraphicalEffects" is not installed
qrc:/qml/Cutegram/main.qml:4:1: module "QtQuick.Controls" is not installed
qrc:/qml/Cutegram/main.qml:1:1: module "QtQuick" is not installed
qrc:/qml/Cutegram/main.qml:5:1: module "QtGraphicalEffects" is not installed
qrc:/qml/Cutegram/main.qml:4:1: module "QtQuick.Controls" is not installed
qrc:/qml/Cutegram/main.qml:1:1: module "QtQuick" is not installed
qrc:/qml/Cutegram/main.qml:5:1: module "QtGraphicalEffects" is not installed
qrc:/qml/Cutegram/main.qml:4:1: module "QtQuick.Controls" is not installed
qrc:/qml/Cutegram/main.qml:1:1: module "QtQuick" is not installed
^C⏎                        

@adisbladis adisbladis closed this May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants