Add simple Qt example #9
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
./scripts/install_recent_cmake.sh
apt-get install -qq ninja-build qt5-default libqt5x11extras5-dev
tools
dir rather than asrc
dir, but why not*.log
,log*.txt
)IMO, a key element in such an application is the text viewer. here I use a QTextEdit, but for a real log viewer app this class is not powerful enough, in terms of capacity to display huge log files, line numbers, customize line colors, etc... So I think a special widget has to be developed for that purpose. And I think it will apply to any GUI toolkit being used. And it can be a tricky task depending on the toolkit being used. I managed to quickly do a skeleton with Qt, with very good performances. But failed with Dear ImGui. I think OpenGL based toolkits are not well suited to build such text intensive widgets. At least that's the feeling I got from my experiments.