View Single Post
Posts: 44 | Thanked: 186 times | Joined on Apr 2010 @ Worthing, West Sussex, England
#7
It looks like you're using the wrong characters for the quotes in this line:
Code:
QLabel *label = new QLabel(“Hello World”);
Change these to ASCII quotes and it should compile.

I'm not sure why gedit would have used the wrong quotes. Did you copy/paste the hello world code from somewhere?
 

The Following User Says Thank You to fieldofcows For This Useful Post: