Forums

OverviewFelgo 2 Support (Qt 5) › Launching Issue

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15610

    Morgan

    So I’m launching this and telling it to change the opening screen to say Welcome instead it keeps saying V-play and not in the color I’ve specified. What am I doing wrong? I also added a button to the main page but that isn’t showing up either!

    Main:

    import Felgo 3.0

    import QtQuick 2.0
    
    
    GameWindow {
        id: gameWindow
    
    
        screenWidth: 960
        screenHeight: 640
    
    
        Scene {
            id: scene
    
    
            // the "logical size" - the scene content is auto-scaled to match the GameWindow size
            width: 480
            height: 320
    
    
       Rectangle {
           anchors.fill: scene.gameWindowAnchorItem
           color: "#324566"
       }
    
    
        Text {
    
    
        text: "Welcome"
        color: "white"
        anchors.horizontalCenter: scene.gameWindowAnchorItem.horizontalCenter
        anchors.top: scene.gameWindowAnchorItem.top
            }
    
    
            MyButton {
                    anchors.centerIn: scene
            }
        }
    
    
    }
    
    
    
    #15611

    Günther
    Felgo Team

    Hi!

    Your color and text changes look correct – you should see the changes when running your app. Which platform are you working/testing on?

    To avoid issues with a previous builds you can perform the following steps for clean-up:
    – delete the build directory (by default the “build-{project}-{platform}-Debug” folder in the same directory as the project folder)
    – right click on the project in Qt Creator and select “Clean”, then right-click again and select “Run qmake”
    – Delete installed version from your device in case you are testing on e.g. your phone or tablet

    This makes sure you get a fresh application build from scratch.

    Does this help?

    Best,
    Günther

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support