Discussion Board

Results 1 to 10 of 10

Threaded View

  1. #1
    Regular Contributor
    Join Date
    Nov 2011

    Question [Qt] how to hide the toolbar?

    Please how I can hide the bottom toolbar and let the statusbar visible in my Qt app?
    My app is based on Qt C++ (QWidget) and not QML.
    I tried this main.cpp code but I get an error: Recipe linkandpostlink failed with exit code 1.

    #include <QtGui/QApplication>
    #include <QWidget>
    #ifdef Q_OS_SYMBIAN
    #include <eikbtgpc.h>
    #include <avkon.rsg>
    #include <aknenv.h>
    int main(int argc, char *argv[])
        QApplication app(argc, argv);
        QWidget *mainWidget = new QWidget();
        mainWidget->setStyleSheet("background-color: yellow");
    #ifdef Q_OS_SYMBIAN
        CEikButtonGroupContainer* cba = CEikButtonGroupContainer::Current();
        cba->MakeVisible( EFalse );
        return app.exec();

    My .pro file:
    QT += core gui
    symbian:TARGET.UID3 = 0xE07B6619
    symbian:LIBS += -llibssl -lcrypto -lcone -lws32 -leikcore -lavkon
    symbian:TARGET.CAPABILITY += NetworkServices
    SOURCES += main.cpp
    # Please do not modify the following two lines. Required for deployment.
    Last edited by aymen_ka; 2013-12-05 at 18:15.

Similar Threads

  1. how to hide toolbar?
    By ShekChien in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-04-19, 07:48
  2. Run Application in background and hide from toolbar
    By Abhishek_karmakar in forum Symbian
    Replies: 3
    Last Post: 2008-12-31, 11:09
  3. ToolBar!
    By zhang198544 in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-07-08, 08:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts