×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Dec 2011
    Posts
    2

    Exclamation Mysterious Bar that appears with QGraphicsView

    Hi all,

    I'm making a game for Nokia N9, and when I run my game, I see this mysterious bar at the bottom of the screen. It does not appear when I use the emulator; only on the N9 phone itself.


    The mysterious bar

    Initially, I suspected that the problem lies with the default qml files: main.qml and MainPage.qml, but commenting all of their contents did not make any difference.

    I created the project using Qt Quick application, and the objects used so far are:
    • QtDeclarativeEngine
    • QtDeclarativeComponent
    • QDeclarativeItem
    • GraphicsScene
    • QGraphicsView


    I've been trying to solve this problem for days, and still no luck so far. Anyone experienced the same thing when using the classes mentioned?

    I'm using Qt SDK 1.1.4 Qt Creator 2.4.0 and Qt 4.7.4 (32bit).

    Thanks in advance
    Last edited by yuang86; 2011-12-26 at 13:08.

  2. #2
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: Mysterious Bar that appears with QGraphicsView

    Hi,

    The qmlapplicationviewer class that is added by the QT creator is making the difference here. Please try creation of these files using the new QTSDK 1.1.4.
    This issue is no longer seen when trying to develop a QT quick application with the new SDK.

    I have see this bar earlier with the older sdk on trying to create the qt quick application.

    Hope this helps.

  3. #3
    Registered User
    Join Date
    Dec 2011
    Posts
    2

    Re: Mysterious Bar that appears with QGraphicsView

    Hi kusumk,

    My Qt SDK is indeed 1.1.4. I commented the whole section on qmlapplicationviewer in main.cpp, but it does not seem to be doing any good.

    Here's the section that I've commented:
    // QmlApplicationViewer viewer;
    // viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
    // viewer.setMainQmlFile(QLatin1String("qml/OfficeOnFire_00/main.qml"));
    // viewer.showExpanded();

    Thanks.

  4. #4
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: Mysterious Bar that appears with QGraphicsView

    Hi,

    I have crosschecked from my end on N9. Yes, when the viewer.showFullScreen() was being called by default in my case and hence could not see the bar. Making it to a normal show() brings the bar into picture again. My apologies.

    Please check the below link -
    This has the details of removing of the toolbar incase you are using native Meego QML
    http://www.developer.nokia.com/Commu...an_Application

  5. #5
    Nokia Developer Moderator
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Mysterious Bar that appears with QGraphicsView

    Correct, viewer.showFullScreen() hides the bar. Another option (maybe not really the best one for games!) is to make you app a Page to insert in a Qt component based app.
    In that way your app is more integrated with system since it will be able to use the system bar on top of the screen.

Similar Threads

  1. Mysterious cirkular symbol
    By dongo in forum Symbian
    Replies: 4
    Last Post: 2010-01-06, 10:06
  2. Mysterious WSERV 9!!!
    By mayur_24 in forum Symbian
    Replies: 2
    Last Post: 2009-07-08, 11:35
  3. WebClientEngine... Mysterious Function
    By Vignesh.M in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2009-02-10, 09:58
  4. The mysterious and obscure panic: CdlEng 7
    By euroq in forum Symbian
    Replies: 4
    Last Post: 2007-06-22, 13:54
  5. mysterious ViewSrv 11
    By pa3ot in forum Symbian
    Replies: 3
    Last Post: 2003-06-30, 17: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
  •