S
S
Sergey2016-12-16 08:46:56
Qt
Sergey, 2016-12-16 08:46:56

QObject crash in OSX, is it a bug?

There is an ordinary class inherited from QObject

class Someclass: public QObject {
    Q_OBJECT
public:

I create an instance corny and get a crash (null pointer).
this->someclass= new Someclass;
There is no crash under Windows and the class works as it should. The constructor is not declared. What can be the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question