A convenient way to access the Qt documentation from inside Creator, is put the cursor on a class or member-function name you have typed, like QListWidgetItem and press F1. The docs for that widget will show inside the editor. Good way to learn the API while coding.
I am getting the following error: expected unqualified-id before string constant in the following line of code: QFile file(QStandardPaths::writableLocation(QStandardPaths:: DocumentsLocation) . "\\toDoFile.txt"); Can you please tell me how to resolve this error?
This was a problem for me too, what I ended up doing was using the file.remove() method before the file.close() in the constructor, this makes it so the document is removed before it is written again, although this may come at the disadvantage that the file could be lost if the program is not closed correctly, although a simple workaround is to keep a backup of this file.
What a very friendly approach you have. I've watched a number of your videos and find them very informative. What I particularly like is your use UI's rather than the console for demonstration purposes...a far more practical approach. What I'd really like to see you build is an app that comprises multiple userforms connected to a database from which checking for completion, reports generation etc etc., can be generated. In any event thank you so much for sharing your knowledge with me and I look forward to your next tutorial
Hi! I use the Qt VS Tools extension in Visual Studio 2022, but I don’t see the "Go to Slot" button. I’ve been trying to fix this for a while. How can I resolve this issue? I would appreciate any help! :)
A convenient way to access the Qt documentation from inside Creator, is put the cursor on a class or member-function name you have typed, like QListWidgetItem and press F1. The docs for that widget will show inside the editor. Good way to learn the API while coding.
what's really great about this tutorial is that you are also showing us how did you manage to implement the desired behavior. very nice 👍
Thank you ❤️
You are one of the best explainers i saw on UA-cam. Can you try to make a slightly complex project, I won't mind watching a 2-3 hours video
Thank you. This means a lot. I will try. :)
Excellent teaching skills.....
Thank you ❤️
Thank u so much
I am getting the following error:
expected unqualified-id before string constant
in the following line of code:
QFile file(QStandardPaths::writableLocation(QStandardPaths:: DocumentsLocation) . "\\toDoFile.txt");
Can you please tell me how to resolve this error?
Check the syntax again
Keep going with qt c++
Your remove/remove all was not saved to the file after it has been executed. The text was still there on next run of the program
Can you send your project file via telegram:
t.me/wearesciber
That’s because he is writing into the file after deleting the ui. The line “delete ui” should be after “file.close();”
This was a problem for me too, what I ended up doing was using the file.remove() method before the file.close() in the constructor, this makes it so the document is removed before it is written again, although this may come at the disadvantage that the file could be lost if the program is not closed correctly, although a simple workaround is to keep a backup of this file.
Thanks Man, m looking for this project
Keep going with qt c++
What a very friendly approach you have.
I've watched a number of your videos and find them very informative. What I particularly like is your use UI's rather than the console for demonstration purposes...a far more practical approach.
What I'd really like to see you build is an app that comprises multiple userforms connected to a database from which checking for completion, reports generation etc etc., can be generated.
In any event thank you so much for sharing your knowledge with me and I look forward to your next tutorial
Hi!
I use the Qt VS Tools extension in Visual Studio 2022, but I don’t see the "Go to Slot" button. I’ve been trying to fix this for a while. How can I resolve this issue? I would appreciate any help! :)
I found on StackOverflow that the "Go to Slot" button doesn't exist in the Qt VS Tools extension for Visual Studio.
Dicki Burg
Awesome tutorial! Do you use a plugin for autocomplete?
Thanks. No i dont use a plugin, its the built in one i think :)
Thanks for this
I followed your impedimentation thanks a lot
What is the use of Qt designer
It is used to create more sophisticated UIs
Wow what a great explanation
Just getting started with Qt and looking for a good intro to it. This was perfect. Thank you!
Thank you for what you do
kute
Ah yes the cute framework 😚