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

WIP: qtcreator: fix examples (make them visible) #9817

Closed
wants to merge 4 commits into from

Conversation

bjornfor
Copy link
Contributor

This is an attempt to make it possible to run QtCreator and browse (and build) examples directly from the IDE. Currently the examples page is empty, and I'm stuck.

EDIT: DON'T MERGE YET.

Needed to put examples into a sensible location;
$out/share/doc/qt5/examples, instead of $out/examples. This should (in
theory) also make 'qt-env' find the examples, because it picks up /share
but not /examples from the underlying modules.
@akaWolf
Copy link
Member

akaWolf commented Sep 28, 2015

@bjornfor
There is qt54.doc package. I think, if you add it to Qt Creator build inputs, QtC should find documentation. Why did you create buildDocs parameter and «qt5-with-docs» package?
Examples should be build and installed with Qt Base submodule.
So «qt5-with-examples» without buildDocs parameter would be more logical, I think.

@bjornfor
Copy link
Contributor Author

@akaWolf: Ok, I'll check the qt54.doc attribute.

About qt5-with-docs, that was just a "desperate attempt". It's not indented to be merged.

@akaWolf
Copy link
Member

akaWolf commented Sep 28, 2015

@bjornfor
Oh... Examples are contained in all submodules. So we need to install them for all submodules (probably in qt-submodule.nix), not only in qtbase.nix.

@akaWolf
Copy link
Member

akaWolf commented Sep 28, 2015

@bjornfor
Looks like we need for every submodule do also «make install_docs».
«make install» already should install examples, but looks like there is something wrong with paths. By default make is trying to install examples to the directory where Qt is installed (I guess, it's determined by «qmake -query» output).

@bjornfor
Copy link
Contributor Author

bjornfor commented Oct 6, 2015

Note to self: https://wiki.qt.io/Qt_Examples_in_Qt_Creator

@rasendubi
Copy link
Member

(triage) @bjornfor any update?

@bjornfor
Copy link
Contributor Author

@rasendubi: Nope. This keeps getting deprioritized :-(

@7c6f434c
Copy link
Member

I guess can be closed for now…

@7c6f434c 7c6f434c closed this Mar 18, 2017
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