Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Is it correct: creating ApplicationWindow inside Item?
Forum Updated to NodeBB v4.3 + New Features

Is it correct: creating ApplicationWindow inside Item?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 305 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.
  • D Offline
    D Offline
    Deckard
    wrote on last edited by
    #1

    Hi, I would like to ask if I can safely create an ApplicationWindow object inside an Item object.

    The reason for this is I want to delay the creation of main window until initialization has been completed and the window is actually necessary. For example if another instance of my app has been notified successfully I will not show the window but exit the application.

    Currently it looks like everything is ok (on linux desktop) but I'd like to be sure that I don't encounter any problems later on some other platforms e.g. Android. The documentation for ApplicationWindow doesn't say it's unsupported.

    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