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.

Could you please post your code (using code tags!!) and paste the exact error message(s) you're getting?