That code looks ok (at first sight).
Can you post the complete error please?
I guess it's a linker error which means it might be possible that certain components can't be found.
If you use Qt Creator, the complete error can be found in the compile or build tab at the bottom.




Reply With Quote


Bookmarks