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. macOS Image Gallery deploy
Forum Update on Monday, May 27th 2025

macOS Image Gallery deploy

Scheduled Pinned Locked Moved Solved QML and Qt Quick
qmlqtquickimageosxmacosx
2 Posts 1 Posters 857 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.
  • shavS Offline
    shavS Offline
    shav
    wrote on last edited by
    #1

    Hi everyone!

    I trying to create an application with image gallery with special functions. I'm using QML for UI. When I build this application from QtCreator all works fine (for debug or release). But if I trying to open this application without QtCreator I'm receiving this log:

    ShavDBManager [ void ShavDBManager::openDB(QString, QString, QJSValue) ] Database was opened for use
    ShavDBManager Using database in path: "/Users/andrewsh/Library/Containers/com.shav.ImageDatabase/Data/Library/Application Support/Images Database/Images_Database_shav_components.db"
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/Big Size/Cube/IMG_0371.JPG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/Big Size/Cube/IMG_0367.JPG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/Big Size/Cube/IMG_0345.JPG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/Big Size/Cube/IMG_0328.JPG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/Big Size/Cube/IMG_0201.JPG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/Big Size/Cube/IMG_0189.JPG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/Big Size/Cube/IMG_0186.PNG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/Big Size/Cube/IMG_0168.JPG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/Big Size/Cube/IMG_0158.JPG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/Big Size/Cube/IMG_0152.PNG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/Big Size/Cube/anime_girl_mermaid_tail_smile_14886_2048x2048.jpg
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/Big Size/Cube/11.png
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/avatar/IMG_3001.JPG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/avatar/IMG_2504.JPG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/avatar/IMG_2503.JPG
    qrc:/qml/Gallery/ShavGalleryItemView.qml:62:17: QML Image: Cannot open: file:///Volumes/HPDD/Dropbox/Photos/Anime/IMG_2880.JPG
    QThreadPipe: Unable to create pipe: Too many open files
    QEventDispatcherUNIXPrivate(): Can not continue without a thread pipe
    

    My question is what I need to do for fix this issue? In this case my application is showing list of items with image info but not the image. QML component Image can't load images with full path. What I can do to fix this?

    Mac OS and iOS Developer

    1 Reply Last reply
    0
    • shavS Offline
      shavS Offline
      shav
      wrote on last edited by
      #2

      Hi everyone! I've solved this problem. In my case the problem was in asynchronous load images into another thread. When I changed asynchronous method to the synchronous all work fine.

      Mac OS and iOS Developer

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved