I have a method, which generates a huge QVector<uchar> (SIZE: 354792000), and memmory is allocated/freed up dynamically, for convenience I use Q ...
I have a method, which generates a huge QVector<uchar> (SIZE: 354792000), and memmory is allocated/freed up dynamically, for convenience I use Q ...
I need some explanation about the next situation. Assume we have the next code: I can't understand if it's safe to pass an object with a parent to ...
I'm trying to store QScopedPointers in a QList. I found this comment One can also use QList >. – Kuba Ober Jan 14 '14 at 18:17 (first com ...
I've been trying to understand how to pass this as a const reference. I have the following class: In my class MainWindow I define it as folows: ...
In my code code in question: myNetworkAccessManager.get() in connect() My question is what is the best way to do it? I was reading the article he ...
as the tittle says, i could not find any relationship or how to pass them to signals and slots. Anyone could give me a quick tutorial? or Introductio ...
I need a pointer container that takes ownership of the pointers - i.e. when an element is removed, or the container goes out of scope, it frees all it ...
I use this code without any error I want to change the above code to the below: But I get this error: How can I solve the problem? ...
For example here is my code But I want to define in mainwindow.h and create an instance in the mainwindow.cpp How? ...
I´m getting the following error on this piece of code. Error: C2248: "QScopedPointer": No access to private member declared in QScopedPointer Read ...
I have an example that use But in my program I have How to use this QScopedPointer without error? ...
If I had an option to choose between QScopedPointer and boost::scoped_ptr, which one would do most good in the following cases: ...