two windows opening after I deployed an application on windows
-
I followed the steps detailed in this link: https://wiki.qt.io/Deploy_an_Application_on_Windows
After my aplication (exe) is launched two windows appear, the main one and qhat seems to be a debuggin window...
There are no output lines in my code (no qInfo()... no cout), i don't know why this happens and if someone could help me i would be much apreciated.these are the libraries that I am using...
#include <QMainWindow>
#include <QApplication>
#include <QPdfWriter>
#include <QPainter>
#include <QImage>
#include <QPoint>
#include <QFileInfo>
#include <QTextStream>
#include <QFile>
#include <QMessageBox>
#include <QFileDialog> -
it wasn't checked, when i run in Qt creator it doesn't appear, only when i run the app
but the second window when i run the app looks like it
-
FOUND IT:
in CMake set_target_properties I added the line:
WIN32_EXECUTABLE true
couldn't have found it without knowing it was a terminal window.
Thank you.