Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [SOLVED] QQuickView not appearing on Android
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] QQuickView not appearing on Android

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 970 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.
  • C Offline
    C Offline
    carlinski
    wrote on last edited by carlinski
    #1

    Qt 5.4

    Trying to implement the declarative camera example inside a standard widget application.

    Code below. You can see I have tried several different methods to get it to appear. Strange thing is if I minimize the App and then maximize it, the QQuickView does appear along with the camera.

    BTW, works perfectly on iOS.

    this->hide();
    ptr_quickViewCamera = new QQuickView();
    ptr_quickViewCamera->setResizeMode(QQuickView::SizeRootObjectToView);
    ptr_quickViewCamera->setSource(QUrl("qrc:///declarative-camera.qml"));
    ptr_quickViewCamera->show();
    ptr_quickViewCamera->setVisible(true);
    ptr_quickViewCamera->raise();
    ptr_quickViewCamera->update();
    
    1 Reply Last reply
    0
    • C Offline
      C Offline
      carlinski
      wrote on last edited by
      #2

      Solved, upgraded to version 5.4.1 and QQuickView now appears OK.

      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