Archivio tag: example
QML: Notifica numero messaggi come iOS (IPhone)
QML che crea QML
Qt samples error: ‘gluPerspective’ was not declared in this scope
error: ‘gluPerspective’ was not declared in this scope compilando l’esempio QT 4.8 la funzione è obsoleta nelle GLUT la si può rimpiazzare con: void gluPerspective(double fovy,double aspect, double zNear, double zFar) { // Start in projection mode. glMatrixMode(GL_PROJECTION); glLoadIdentity(); double Continua a leggere Qt samples error: ‘gluPerspective’ was not declared in this scope
Code: Send out the brain pods
proviamo un po’ il plugin per la syntax highlight [sourcecode language=”cpp”] #include <QtCore> class Rectangle : public Shape { public: Rectangle(); Rectangle(int width, int height); Rectangle (&Rectangle one); ~Rectangle(); virtual int Area(); // of course!! virtual int Perimeter(); private: int Continua a leggere Code: Send out the brain pods