<SOLVED>Application with flag "Qt::FramelessWindowHint" did not display in application list in task manager
-
wrote on 20 Sept 2012, 07:27 last edited by
Hi guys,
i created an app with a mainwindow in Win7, and i set the window flag to "Qt::FramelessWindowHint".
after that ,i can't find my app in application list in task manager.
i wanna use flag "Qt::FramelessWindowHint", and at the same time, i want to display my app in app list of task manager.
i tried some solutions, but they didn't work. -
wrote on 20 Sept 2012, 07:35 last edited by
Which solutions did you tried?
Have you tried to create hidden MainWindow and then create your Window with FramelessWindowHint? -
wrote on 20 Sept 2012, 08:55 last edited by
Hi,
what's your meaning of "hidden MainWindow" ?
[quote author="AcerExtensa" date="1348126524"]Which solutions did you tried?
Have you tried to create hidden MainWindow and then create your Window with FramelessWindowHint?[/quote] -
wrote on 20 Sept 2012, 09:16 last edited by
@int main(..)
{
QApplication app(...);
QMainWindow w;
w.setWindowTitle(...);
w.setVisible(false);MyWidget widget();
widget.show();return app.exec();
}@ -
wrote on 20 Sept 2012, 09:28 last edited by
hi acer,
i solved this problem.
the reason is that, i forgot to set window title.
thank u very much. -
wrote on 20 Sept 2012, 09:58 last edited by
Glad i could help you. Please add "[SOLVED]" prefix, left to the topic subject. Thanks!
3/6