Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cutegram: Build with qt59 #33823

Closed
wants to merge 1 commit into from
Closed

Conversation

adisbladis
Copy link
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

@Mic92
Copy link
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
Member Author

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

@adisbladis
Copy link
Member Author

ping @Profpatsch @AndersonTorres

@Profpatsch
Copy link
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
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
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
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants