[ Foro de C++ ]
/******** widget_ventana.cpp **********/
#include <QApplication>
#include <QPushButton>
#include <QFont>
#include <QWidget>
int main(int argc, char *argv[])
{
QApplication aplicacion(argc, argv);
QWidget ventana;
ventana.resize(300,200);
QPushButton boton_salir("Salir", &ventana);
boton_salir.resize(200, 130);
boton_salir.setFont(QFont("Times", 18, QFont::Bold));
boton_salir.setGeometry(20,50,150,40);
QObject::connect(&boton_salir, SIGNAL(clicked()), &aplicacion, SLOT(quit()));
ventana.show();
return aplicacion.exec();
}
Me sale esté mensaje -> jose@debian:~$ qtcreator
SOFT ASSERT: "qmakeProject" in file /build/qtcreator-w5lgHy/qtcreator-3.4.1+dfsg/src/plugins/qmakeprojectmanager/qmakeprojectmanager.cpp, line 190
Donde está el fallo
He instalado qtcreator y qt-qmake4
(No se puede continuar esta discusión porque tiene más de dos meses de antigüedad. Si tienes dudas parecidas, abre un nuevo hilo.)