QPrinter fait planter l'application
Bonjour lorsque je crée un QPrinter mon programmme plante systématiquement par exemple :
Code:
1 2 3 4 5 6 7 8 9 10
| #include <QtGui>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPrinter printer;
return app.exec();
} |
me donne une erreur a l'exécution
Citation:
ASSERT: "hdc" in file c:\ndk_buildrepos\qt-desktop\src\gui\painting\qprintengine_win.cpp, line 1050
Invalid parameter passed to C runtime function.
Invalid parameter passed to C runtime function.
Merci d'avance si vous avez une idée d'ou celà pourrait venir.
je précise que je suis sous windows vista 64bits si sa peut avancer quelqu'un