How can we call mingw WLAN NOTIFICATION CALLBACK
-
Hi,
I referring the console window which is opens while we run the application. The console window is shows all QDebug messages and warning messages.
The library I used QTest library and Qttest5.dll after including this two files. I got that console output window with my application. I tried using this configuration t with application.pro file to disable that window but it didn't disable that window. It just disables the Qdebug messages.
QT += testlib
DEFINES += QT_NO_DEBUG_OUTPUT QT_NO_WARNING_OUTPUT
So, if you have any solution or suggestion related this issue. please let me know.
Thanks & Regards
Tushar Kachhadiya
-
Well, that's the normal behavior for tests, what are you trying to achieve ?
-
Hi,
I want to disable that console output window. i used qwait method to set some delay in for loop before that I used single shot timer but it hangs all process, so I removed it.
So, if you have any solution related this, Please help me.
Thanks & Regards
Tushar Kachhadiya
-
hii
if you want to disable console window then write in .pro file
CONFIG -= console
hope it helps -
Hi,
lamSumitThanks for suggestion. I tried this CONFIG-=console but console window is still there. So, If you have any other idea then share with me.
-
-
Hi
lamSumitI tried that configuration but still getting same issue with deployed application. when i run myapplication.exe file from deployed directory still debug window starts with application.
-
qWait is to be used only for tests not in production code. Don't use it in your application.
Unless you are doing something unclean, QTimer singleShot should not block anything
-
if your console window is still there then
you have to reconfigure the project means let start fresh.
just do the following--
1)CONFIG -=console //in .pro file
2)Delete debug and release folder
3)delete from create in directory(source code) the files that generated while previous configuration, like visual studio .pro file .you have to keep only your main files like all .cpp, .h and .pro files only
4)After doing above open your project in Qt creator and it will ask for configure just hit that button you will get fresh(cleaned) project.
just do above steps.your problem will be solved. -
[quote author="SGaist" date="1403212297"]qWait is to be used only for tests not in production code. Don't use it in your application.
Unless you are doing something unclean, QTimer singleShot should not block anything[/quote]
Thanks Samuel
-
[quote author="IamSumit" date="1403242351"]if your console window is still there then
you have to reconfigure the project means let start fresh.
just do the following--
1)CONFIG -=console //in .pro file
2)Delete debug and release folder
3)delete from create in directory(source code) the files that generated while previous configuration, like visual studio .pro file .you have to keep only your main files like all .cpp, .h and .pro files only
4)After doing above open your project in Qt creator and it will ask for configure just hit that button you will get fresh(cleaned) project.
just do above steps.your problem will be solved.[/quote]
Thanks lamSumit
Still getting same issue. i removed that qtest library.