Results 1 to 2 of 2

Thread: No printer after deploying application on another machine

  1. #1
    Join Date
    Mar 2013
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default No printer after deploying application on another machine

    Hi,

    I have 2 linux/X11 machines, one where i build and one where i want to deploy to.
    I built Qt 4.8.2 with CUPS support on the build machine, my program finds printers installed on CUPS.
    The program is built with QMAKE_LFLAGS += -Wl,-rpath,\\$\$ORIGIN/lib:\\$\$ORIGIN/../lib
    All required libraries have been copied inside the lib folder and ldd shows that all are found as required.
    I copy my application folder to the target machine, ldd still shows everything is found, the program starts without issues, but QPrintDialog shows no printers.

    Am i missing something?
    Last edited by worluk; 14th March 2013 at 11:45. Reason: updated contents

  2. #2
    Join Date
    Jun 2009
    Posts
    37
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: No printer after deploying application on another machine

    I have exactly the same problem... Using Qt 4.8.5.
    QPrinter does not fetch all the printers installed on ubuntu 12.04.

Similar Threads

  1. Deploy QT on various Linux distributions
    By zvika in forum Installation and Deployment
    Replies: 3
    Last Post: 27th March 2012, 00:02
  2. Replies: 17
    Last Post: 29th March 2011, 22:52
  3. Deploy app in Linux
    By The_Fallen in forum Installation and Deployment
    Replies: 4
    Last Post: 13th October 2010, 15:43
  4. Replies: 1
    Last Post: 13th January 2010, 23:35
  5. Program in Windows, Deploy in Linux
    By suitto in forum Installation and Deployment
    Replies: 1
    Last Post: 8th April 2009, 13:11

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.