By navigation to QTDIR/bin.
By navigation to QTDIR/bin.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
How did you install the libs? On what platform? If you used your distro repository you might also need a "qt-devel" package.I have installed qt4.8 lib
On Windows the prebuilt-binary version of the Qt 4.8.2 libraries includes:
Qt Code:
D:\Qt\4.8.2>dir bin\*.exe /w Volume in drive D is Data Volume Serial Number is 9A47-6800 Directory of D:\Qt\4.8.2\bin assistant.exe designer.exe dumpcpp.exe idc.exe lconvert.exe linguist.exe lrelease.exe lupdate.exe moc.exe pixeltool.exe qcollectiongenerator.exe qdoc3.exe qhelpconverter.exe qhelpgenerator.exe qmake.exe qmlplugindump.exe qmlplugindumpd.exe qmlviewer.exe qt3to4.exe qtdemo.exe qttracereplay.exe rcc.exe uic.exe uic3.exe xmlpatterns.exe xmlpatternsvalidator.exe 26 File(s) 17,203,712 bytes 0 Dir(s) 12,528,525,312 bytes freeTo copy to clipboard, switch view to plain text mode
there is no designer or creator exe's in bin.
Mine is ReadHat5.5.
i just build the configure exe then gmake and gmake install.
Qt Creator is not part of the Qt libraries. Designer is.
What was the prefix used for the install? Did it go into /usr, /usr/local or /usr/local/Trolltech/Qt-4.8.2? The configure program tells you when it finishes:
Qt Code:
... Qt is now configured for building. Just run 'gmake'. Once everything is built, you must run 'gmake install'. Qt will be installed into /usr/local/Trolltech/Qt-4.8.2 To reconfigure, run 'gmake confclean' and 'configure'.To copy to clipboard, switch view to plain text mode
Instructions are same as above.
i have used gmake and gmake install.
and the location is /usr/local or /usr/local/Trolltech/Qt-4.8.2.
in Qt-4.8.2 there are bin,include,plugin directories available.
in bin moc,uic3 and uic exes available.But there is no exe for designer and document.
Hi.....
Problem with close button.
I have tried all the ways to hide the close button of my dialog.
CustomizeWindowHint , Qt::WindowTitleHint , Qt::WindowMinMaxButtonsHint.
all these three are not working for my dialog......
any suggestions?
Hello,
May I know what version are you using?
It might be the same as what I had experienced.
i am using Qt creator 2.5. and
have qt 4.6
So you have tried "all the ways" but don't mention the obvious Qt::WindowCloseButtonHint. Did you look at the Window Flags Example code?
Qt Code:
#include <QtGui> int main(int argc, char **argv) { QWidget w; // or QDialog w; w.setWindowTitle("Widget"); Qt::WindowFlags f = w.windowFlags(); f |= Qt::CustomizeWindowHint; // set the customise flag f &= ~(Qt::WindowCloseButtonHint | Qt::WindowMinMaxButtonsHint); // unset the unwanted flags w.setWindowFlags(f); w.show(); return app.exec(); }To copy to clipboard, switch view to plain text mode
Works as expected on Windows XP. Works on my Linux box with KDE window manager for removing the Close control. Unfortunately the window manager seem to ignore the min/max button hints: if you have a title bar you get these controls.
Last edited by ChrisW67; 30th October 2012 at 08:45. Reason: updated contents
"We can't solve problems by using the same kind of thinking we used when we created them." -- Einstein
If you are posting code then please use [code] [/code] tags around it - makes addressing the problem easier.
Bookmarks