Add -fpermissive at the compiler
General and Desktop
10
Posts
6
Posters
23.4k
Views
1
Watching
-
This is not a compiler bug/problem, but, sorry to say that, a lack of C++ skills and I can see why nobody is responding. Please look at http://www.cplusplus.com/doc/tutorial/classes/ to see how constructor declaration, implementation and usage differ in Syntax.
Given a QString ip, what's wrong about
@
QHostAddress ip_test(ip)?
@ -
[quote author="luca72" date="1323253935"]No solution please?[/quote]
Nagging after 3 hours? You're not serious! Please read and understand: http://www.catb.org/~esr/faqs/smart-questions.html
If considered ok at all then pushing a topic is acceptable after waiting a few days, not after 3 hours.
Danimo already gave you the answer, what's wrong with your syntax.