1
Qt/Qtopia / Annoyance with menu launch
« on: October 27, 2004, 04:09:20 pm »
Ok, this is how I "solved" my problem. Originally, I had a main function that created a QApplication object. The QApplication object would then launch dialogs prompting the user for information.
I changed this to match the Trolltech doc for QT 1.7. http://doc.trolltech.com/qtopia1.7/html/mainfunc.html when it is up. Check Google cache if it isn't.
I now have a main.cpp file which does
QTOPIA_ADD_APPLICATION("myapp", MyMainWindow)
QTOPIA_MAIN
MyMainWindow is a QMainWindow object which launches the dialogs. Once I changed to this implementation, my application had an icon in the taskbar and had no "background" issues. Didn't know that this format was 'required' for normal application operation.
Thanks all for your help!
I changed this to match the Trolltech doc for QT 1.7. http://doc.trolltech.com/qtopia1.7/html/mainfunc.html when it is up. Check Google cache if it isn't.
I now have a main.cpp file which does
QTOPIA_ADD_APPLICATION("myapp", MyMainWindow)
QTOPIA_MAIN
MyMainWindow is a QMainWindow object which launches the dialogs. Once I changed to this implementation, my application had an icon in the taskbar and had no "background" issues. Didn't know that this format was 'required' for normal application operation.
Thanks all for your help!