https://github.com/melardev/cppqtconsolesnippets
Cpp QT snippets with anything other than UI(Concurrency, IO, data structures, Filesystem, crypto, etc)
https://github.com/melardev/cppqtconsolesnippets
concurrency console cpp database demos examples filesystem io networking process qt qt5 snippets sockets
Last synced: 7 months ago
JSON representation
Cpp QT snippets with anything other than UI(Concurrency, IO, data structures, Filesystem, crypto, etc)
- Host: GitHub
- URL: https://github.com/melardev/cppqtconsolesnippets
- Owner: melardev
- License: mit
- Created: 2019-05-17T15:30:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-02T10:15:10.000Z (over 6 years ago)
- Last Synced: 2025-03-21T02:46:16.468Z (10 months ago)
- Topics: concurrency, console, cpp, database, demos, examples, filesystem, io, networking, process, qt, qt5, snippets, sockets
- Language: C++
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
This repository contains Qt C++ snippets NOT related to UI, for UI snippets I have another repository
.
I have a lot more snippets, but they have to be refactored before pushing them to Github.
Stay tuned, a lot more will come.
At this moment I publish only the snippets, the project setup will come later, I will give instructions
on how to set this up with the awesome vcpkg and Visual Studio and CMake.
# Tips
- In C++ development many errors are fixed after Cleaning the project/Solution, in Qt this occurs even more
than in other frameworks in my opinion, that is due to the moc system and all the intermediate steps before
generating the executable. So If an error is not obvious try cleaning the project and re-compile.
- When you have a non obvious error, such as, there is no definition for X, when you know there is
try #include(ing) the class because Qt uses a lot of class forwarding so, as soon as you import a single
class, your IDE will recognize a lot of other classes used in your file, so you may think its ok,
you won't need to import all other Qt classes you are using, this is sometimes true, but sometimes it is not.
- Try learning Qt internals debugging into Qt source code from time to time, because not everything is on the docs,
but everything is in the code.
# Social Media
- [Youtube](https://youtube.com/Melardev)
- [Twitter](https://twitter.com/@melardev)
- [Instagram](https://instagram.com/melar_dev)
# Resources
# TODO
- Port to CMake