Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm trying to see how a class is implemented in Qt C++, but not sure how to get there. Any short cuts? or how I can see how a class is implemented, for example. QString.
Two different ways:
Browse the sources locally
The easiest way it to install it from Qt online installer. For each version of Qt, you check the Sources component, which will automatically download it for you in your Qt folder
Pull the Git repo directly from https://code.qt.io/cgit/. You can refer to that guide to download the full source: https://wiki.qt.io/Get_the_Source
Browse online
Probably the easiest, and two places again
From Qt official repo, here again https://code.qt.io/cgit/
Or (my preference) from Woboq, as they provide great navigation tools (search, navigate to declaration, definition, uses,...) and syntax highlight: https://code.woboq.org/qt5/qtbase/src/corelib/tools/qstring.cpp.html
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I'm starting to get into customizing OC3 for my needs, and see the benefit of putting extensions in OCMOD files.
I assume people test and debug their code by temporarily rewriting the core files, and only write the OCMODs after the extension is ready.
Given an original file and a version with a customized script or modification, is there a tool to compare them and generate the OCMOD xml automatically? (maybe based on diff)
Or extension developers do that manually?
Try this repository in github. it automatically generates install.xml :
https://github.com/ataul/ocmod_generator
There are no tools available for OCMOD.
Extension Developers do that manually.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for documentation on C++ code for file and directory implementation into C++ programs.
I like going to cplusplus.com because of the documents and examples they have, but I can't find documentation on dirent.h, I'm not even sure it's all that great.
I'm looking to have a program able to see inside a directory, meaning obtaining a list of the files and sub-directories within, plus being able to get the modify/creation date of such things. I program in Ubuntu Linux.
Go to terminal, type man dirent, press enter and read it. If your distribution didn't install manpages for some reason, it won't be available. But in this case you can google it.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
My question is similar to Adding images into source code, but my environment is Visual C++. Is there some way how to add images as a part of comments and make the IDE to display them (either inline, or by clicking on them or performing some action on them)?
What I was doing until now was either to provide an URL to an external .PNG or .SVG file placed in the SVN using its URL, or by creating an ASCII art, but it somehow feels strange to me in the age of GUIs and rich documents everywhere be still limited to this. If there is no better solution, are there at least some pluings to make this more streamlined (e.g. by creating the SVN document for me and placing a link to it in the comment, or by helping me in the ASCII art drawing)?
There is a sample add in that appears to be doing this. I haven't run it.
Here's the link. Source code is available.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Does anyone have any links to tutorials showing how to use QListView and how to populate it with items .. ? If I search google I can only find outdated tutorials which use classes which have been deprecated ..
I usually just read the qt documentation as it is very good and provides the necessary information to work with a specific class (it is one of the best documented frameworks in my opinion) try and read the documentation for list view http://doc.qt.io/qt-5/qlistview.html and also look at the examples provided with qt in the examples directory you should find more than one which uses qlistview.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I want to start a new C++ (Qt) Open Source project and I'm wondering if there is an existing template somewhere for files usually found in an Open Source project but that are not purely source code (README, LICENSE, CHANGELOG, etc.)
I could probably find a popular Open Source project for inspiration but if there is some existing generic templates, I will use that instead.
Thanks.
One place to look might be the implementation of the GNU Hello program. It includes all the standard template files expected by the GNU coding guidelines.
You may, of course, choose to follow another set of guidelines than GNU's.
You might find the boost sandbox template interesting: Sandbox Template