Qt: showFullScreen() on a QWidget doesn't remove Mac OSX Menu Bar -
we our application full screen alright, osx menu bar still shown above it...
is there way around problem?
yes, might bug suggested. try framelesswindowhint, this:
#include <qtgui/qapplication> #include <qlabel> int main(int argc, char *argv[]) { qapplication a(argc, argv); qlabel label("test!"); label.setwindowflags(qt::framelesswindowhint); label.showfullscreen(); return a.exec(); }
i tested on mac os x 10.7.1 (which not supported) , seems work.
Comments
Post a Comment