Im currently doing a project in QT and when I compile my project with my header/source files that i created, I get this "error: expected constructor, destructor, or type conversion before ‘->’ token
". Essentially i've created my own classes outside of QT and my objects work fine etc but when I use them in QT I get that error.I don't get errors though when I just instantiate my objects, only when I want to perform my objects methods.
colesefini
0
Newbie Poster
mvmalderen
2,072
Postaholic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.