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
    Apr 2012
    Posts
    17
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Difficulties in Making PDF files in Mac PCs

    I've created the bundle using the macdeployqt utility, that should have added everything needed.
    In fact, if I have a look at the bundle contents I see that in the Frameworks folder there are:
    QtCore.framework
    QtGui.framework
    QtPrintSupport.framework
    QtWidgets.framework

    Moreover the issue must not be related to the addition of frameworks to the bundle, since the bundle before being modified using macdeployqt utility already starts.
    This means that it is able to find on my mac Air the needed libraries for its basic functions, such as creating the window, since in this PC Qt is installed.
    The macdeployqt utility, I think, should be needed only to run the application in PCs in which Qt is not installed.

    So, the reason for which printing on PDF does not work is mysterious for me.
    I can add that if I use the code similar of my post, but without row 25, printing on the physical printer on my mac (instead of the PDF) is performed correctly.

    Regards

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Difficulties in Making PDF files in Mac PCs

    Does the behaviour change if your code explicitly calls setOutputFormat()?

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.