Results 1 to 10 of 10

Thread: Difficulties in Making PDF files in Mac PCs

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2006
    Posts
    81
    Thanks
    6
    Thanked 5 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Difficulties in Making PDF files in Mac PCs

    Quote Originally Posted by ceraolo View Post
    But if I run the .app created by Qt, both "as is" and "fed up" using the macdeployqt utility, the painter does not construct and the message "Some error occurred" is displayed.
    Have you double-checked all lookup paths with otool, and eventually adjusted with install_name_tool?

  2. #2
    Join Date
    Apr 2012
    Posts
    17
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Difficulties in Making PDF files in Mac PCs

    ChrisW67, after you hint I tried, but with no success.

    Zaphod, I don't know neither tool nor install_name_tool. But inside the app, after macdeployqt, as I said, I see all the needed frameworks. Moreover, they are all correctly accessed, even QtPrintSupport.framework (in fact on a physical printer my tiny program prints).
    I'm becoming convinced that there must be some bug out there.

  3. #3
    Join Date
    Jun 2006
    Posts
    81
    Thanks
    6
    Thanked 5 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Difficulties in Making PDF files in Mac PCs

    Quote Originally Posted by ceraolo View Post
    Zaphod, I don't know neither tool nor install_name_tool.
    These tools are explained, or at least shown how to put to use, in Deploying an Application on Mac OS X, as is macdeployqt. With otool you can check which paths the dynamic linker will use to reference dylibs. With install_name_tool you can adjust the ids on both ends of these references.

    Quote Originally Posted by ceraolo View Post
    But inside the app, after macdeployqt, as I said, I see all the needed frameworks.
    To see the frameworks is not enough. The references must fit. Usually this is ok for the Qt frameworks after macdeployqt, but sometimes it's not, and your own libs you will almost certainly have to fix.

    Quote Originally Posted by ceraolo View Post
    Moreover, they are all correctly accessed, even QtPrintSupport.framework (in fact on a physical printer my tiny program prints).
    When you run the bundle? Hmm this renders my notes useless then.

    Quote Originally Posted by ceraolo View Post
    I'm becoming convinced that there must be some bug out there.
    When I familiarized myself with deployment on Mac i ran into severe cases of PEBKAC with the exact same symptoms as yours more than once...

Similar Threads

  1. Difficulties compiling qt statically
    By tom989 in forum Installation and Deployment
    Replies: 1
    Last Post: 17th November 2012, 00:38
  2. Replies: 1
    Last Post: 17th April 2010, 00:12
  3. Difficulties with QTableView and setModel
    By sekatsim in forum Qt Programming
    Replies: 11
    Last Post: 19th June 2008, 07:05
  4. making the printer correctly interpret pcl files
    By momesana in forum Qt Programming
    Replies: 1
    Last Post: 17th April 2008, 16:41
  5. QTableView header difficulties
    By croftj in forum Qt Programming
    Replies: 6
    Last Post: 30th January 2008, 20:58

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.