"What's this" doesn't work on mouse click.
I need a what's this tips in my application.
QPushButton *btn = new QPushButton("Button", 0);
when i click on "?" button and click on my button nothing happens. At the same time Shift+F1 works properly.
Why "?" doesn't work?
P.S. "?" button works in Qt 4.8.1 with mingw, but doesn't in Qt 5.0.1 and 5.0.2 with mingw 4.7 and MSVC 2012 compiliers. Is it Qt 5 bug?
Connect a signal (for example: released) from your button to a slot which will handle it. Btw we have a "wiki article about QPushButton":http://qt-project.org/wiki/How_to_Use_QPushButton
handle what? I wanna use "What's this" technology without QWhatsThis class. It should work but it doesn't
[quote author="fAg1r" date="1371125586"]handle what? I wanna use "What's this" technology without QWhatsThis class. It should work but it doesn't[/quote]
OK, I see. May be you should report it as a bug at "JIRA":https://bugreports.qt-project.org/. Btw you are using Windows, right? Have you tried the same source on other platforms?
I haven't, coz I just don't know how to use Linux, etc. I'd like someone to test "What's this" feature on other platforms with Qt 5. Yes I use Windows 7 64-bit