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]Use UIImagePickerController in qt application
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Use UIImagePickerController in qt application

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 1.6k 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.
  • H Offline
    H Offline
    hasti66
    wrote on 18 Oct 2014, 08:41 last edited by
    #1

    Hi, i use qt5.3 on mac to develop an iOS application. I want to use UIImagePickerController with objective-c to pick an image from ios gallery and show it in qt. I know how use objective-c code in qt. To using UIImagePickerController , i need to add <UIKit/UIKit.h> in objective-c file(.mm), but i get this error "UIKit/UIKit.h" file not found.
    I've added this code in .pro : LIBS += framework UIKit
    can someone tell me how can i use UIImagePickerController in qt?

    Hasti Ranjkesh

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hasti66
      wrote on 18 Oct 2014, 10:50 last edited by
      #2

      I solved my problem and found the solution from this link :
      http://forums.bignerdranch.com/viewtopic.php?f=77&t=3431
      when in desktop kit I type in #import <UIKit/UIKit.h> I get the error, "UIKit/UIKit.h" file not found.

      I looked up this error and I found some answers that said UIKit is not included in MacOSX, but it is specific to iPhone: http://forums.macrumors.com/showthread.php?t=1194897

      good luck

      Hasti Ranjkesh

      1 Reply Last reply
      0

      1/2

      18 Oct 2014, 08:41

      • Login

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