Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Transitions example displays an empty window when launched outside of QTCreator
QtWS25 Last Chance

[SOLVED] Transitions example displays an empty window when launched outside of QTCreator

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.9k Views
  • 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.
  • L Offline
    L Offline
    LucaUWF
    wrote on last edited by
    #1

    Hi,

    Very new to QTCreator so I ran through the Qt Quick and Qt Widget examples.
    These both ran fine within QtCreator.

    I copied the .exes to the bin folders within the sdk to run them outside of the IDE (just to save me time copying dlls to the separate application directories) I found that the Widget application (FindText) worked fine but the Transitions example just displayed an empty window with the title Transitions rather than the animated icon.

    Can anyone suggest what might be going wrong?

    I am running Windows XP and using Qt 4.74 32 bit.

    Thanks!

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dbzhang800
      wrote on last edited by
      #2

      Make sure all other files used by your application can be found at running time, such as *.qml *.qm etc.

      By the way, you had better add the bin path of your SDK to your system's environment PATH to avoid coping dll or exe files.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        LucaUWF
        wrote on last edited by
        #3

        Moving the qml directory into the directory where the exe resides did the trick.

        I then followed your advice and added to the Path environment variable the following:
        C:\QtSDK\Desktop\Qt\4.8.0\msvc2010\bin this led to procedural entry errors...

        Modifying this path to the msvc2008\bin and rebuilding for 2008 targets did however work.

        Thanks for the help.

        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