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. Add an image to a QML project built by CMake
Forum Updated to NodeBB v4.3 + New Features

Add an image to a QML project built by CMake

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

    Hi all,

    I've got an image called "flower.png" in a folder called "images" put in the directory of the following very simple project.
    Capture.PNG

    What I need is to be able to add that image to the project and show it in the middle of the window. I've searched much to find a clear set of instructions how to do this step-by-step for the first time but unfortunately I haven't found a good one.
    Will you guide me of the process, please.
    My machine is Windows 10 x64 and I use Qt 6.2.2.

    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