Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Mysterious Bar that appears with QGraphicsView
Forum Updated to NodeBB v4.3 + New Features

Mysterious Bar that appears with QGraphicsView

Scheduled Pinned Locked Moved Game Development
4 Posts 3 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    isoboy
    wrote on last edited by
    #1

    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.

    !http://img815.imageshack.us/img815/2623/49507625.jpg(The mysterious bar)!

    I created the project using Qt Quick application, and the objects used so far are:

    • QtDeclarativeEngine
    • QtDeclarativeComponent
    • QDeclarativeItem
    • QGraphicsScene
    • QGraphicsView

    I've been trying to solve this problem for days, and still no luck so far. Anyone experienced the same thing?
    I'm using Qt SDK 1.1.4 Qt Creator 2.4.0 and Qt 4.7.4 (32bit).

    Thanks in advance

    1 Reply Last reply
    0
    • W Offline
      W Offline
      weiwei2
      wrote on last edited by
      #2

      for Qt quick, the newer way is to define everything in .qml file so we need not use the objects above to create objects.

      in QML, you can easily specify whether you needs a toolbar or not

      1 Reply Last reply
      0
      • I Offline
        I Offline
        isoboy
        wrote on last edited by
        #3

        Thanks for the reply.

        In fact, I commented out all the contents in both the default main.qml and MainPage.qml.
        The bar never showed itself in the Qt Simulator; only in the N9 phone.

        Any ideas?

        1 Reply Last reply
        0
        • Y Offline
          Y Offline
          yalnte
          wrote on last edited by
          #4

          This might solve it (all essentially the same post - one solution for QML apps and another for straightforward Qt/C++):

          http://qt-project.org/wiki/How_to_Remove_Toolbar_from_MeeGo_Harmattan_Application
          http://qt-project.org/forums/viewthread/11746
          http://qt-project.org/forums/viewreply/71208/

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved