gettingStarted: sanitize parameter names and compile fix for Qt 5
Change-Id: I3f30ccee89b8add8718a9a36f0f16fa7b2e9bad1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>bb10
parent
014ad6bf1b
commit
cc8d9fb85e
|
|
@ -40,10 +40,9 @@
|
|||
|
||||
#include <QtWidgets>
|
||||
|
||||
|
||||
int main(int argv, char **args)
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication app(argv, args);
|
||||
QApplication app(argc, argv);
|
||||
|
||||
QTextEdit textEdit;
|
||||
textEdit.show();
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
|
||||
QT += widgets
|
||||
SOURCES = main.cpp
|
||||
|
||||
# install
|
||||
|
|
|
|||
|
|
@ -40,9 +40,9 @@
|
|||
|
||||
#include <QtWidgets>
|
||||
|
||||
int main(int argv, char **args)
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication app(argv, args);
|
||||
QApplication app(argc, argv);
|
||||
|
||||
QTextEdit textEdit;
|
||||
QPushButton quitButton("&Quit");
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
|
||||
QT += widgets
|
||||
SOURCES = main.cpp
|
||||
|
||||
# install
|
||||
|
|
|
|||
Loading…
Reference in New Issue