Thread with 7 posts

jump to expanded post
mcc , @mcc@mastodon.social
(open profile)

@hikari …and so this isn't a problem with *base* qt, because all base qt constructors are declared with explicit

but the first thing you do when you start writing qt is you subclass existing qt classes and create your own MyQtClass(QObject *) {} constructors

so if you don't know about the `explicit` convention and why the qt base libraries do it, you have just placed a landmine under your chair

Open remote post (opens in a new window)