×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    5

    Shipping third party libraries in installation package

    I am making a program for my thesis at school, and it is supposed to be cross platform, now I wanted to be able to show a pdf page in Qt itself. Ive been looking around and it seems that poppler is the thing I need. But how do I make the program so it actually includes the code(library) I need to show the pdf, instead of installing poppler. (I want to be able to make 1 installation file which installs my program with poppler included, instead of installing poppler seperatly on the system.
    Last edited by divanov; 2011-05-03 at 11:57. Reason: this thread is far more general than just using Poppler

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Using Poppler

    Is it Windows?

  3. #3
    Registered User
    Join Date
    May 2011
    Posts
    5

    Re: Using Poppler

    Quote Originally Posted by divanov View Post
    Is it Windows?
    As I said, it is supposed to be cross platform. So it should work on windows + mac (and preferably but not specificly linux). I myself program on windows

  4. #4
    Super Contributor
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,098

    Re: Using Poppler

    Hi Teeuwe,

    Please check out this post, might be of help to you:
    http://lists.freedesktop.org/archive...ch/004499.html

    Best Regards,
    Marko
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330
    [email]marko.lumivuori@nokia.com[/email][/I][/FONT]

  5. #5
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Using Poppler

    You should know that this is not possible to have one installer, which will work on Mac OS, Linux and Windows.

  6. #6
    Registered User
    Join Date
    May 2011
    Posts
    5
    Quote Originally Posted by divanov View Post
    You should know that this is not possible to have one installer, which will work on Mac OS, Linux and Windows.
    think you are missing the point. I want to make an installer. This should install everything: My program and poppler(thats what I mean with 1 installer=> instead of having to install my program and poppler seperatly). I would have different installation files for the different OS'es

    Quote Originally Posted by Maveric View Post
    Hi Teeuwe,

    Please check out this post, might be of help to you:
    http://lists.freedesktop.org/archive...ch/004499.html

    Best Regards,
    Marko
    Hmm, it seems that this will work on my pc, but will I be able to package my program with the poppler program after its complete? (where would I find the libs for qt so I can put them in the installation files too). Sorry,I'm fairly new to C++, I'm coming from Java(dont blaim me, blaim my school)
    Last edited by divanov; 2011-05-03 at 11:59.

  7. #7
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Using Poppler

    Quote Originally Posted by Teeuwe View Post
    think you are missing the point.
    Thank you for your assessment.

    Quote Originally Posted by Teeuwe View Post
    I want to make an installer. This should install everything: My program and poppler(thats what I mean with 1 installer=> instead of having to install my program and poppler seperatly). I would have different installation files for the different OS'es
    Then it means you will have three (two) different installers: for Windows, for Mac OS and optionally for Linux.
    All three systems have their own tools for making installation binaries.

    P.S. Linux the most likely already have Poppler, so its doubtful that you need to ship it separately.

  8. #8
    Registered User
    Join Date
    May 2011
    Posts
    5

    Re: Using Poppler

    Quote Originally Posted by divanov View Post
    Thank you for your assessment.


    Then it means you will have three (two) different installers: for Windows, for Mac OS and optionally for Linux.
    All three systems have their own tools for making installation binaries.

    P.S. Linux the most likely already have Poppler, so its doubtful that you need to ship it separately.
    Ah ok, so there is no way to include an entire library like in java, where you just download the library online and add it in a subdirectory of the project? You have to specifiy in the installers (like NSYS, Bitrock...) that it should install other libraries too?

  9. #9
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Using Poppler

    Quote Originally Posted by Teeuwe View Post
    Ah ok, so there is no way to include an entire library like in java, where you just download the library online and add it in a subdirectory of the project?
    I think you are missing the point.
    Quote Originally Posted by Teeuwe View Post
    You have to specifiy in the installers (like NSYS, Bitrock...) that it should install other libraries too?
    Definitely you have to. Probably Bitrock's InstallBuilder covers all platforms of your interest, but it's proprietary.
    http://en.wikipedia.org/wiki/List_of...ation_software

  10. #10
    Registered User
    Join Date
    May 2011
    Posts
    5

    Re: Shipping third party libraries in installation package

    Could anyone maybe send me the binaries for poppler for windows? Because I don't seem to be able to make them myself :/. (Or if anyone has a good guide on how to make poppler binaries for Qt 4).

Similar Threads

  1. Using Camera Light While Taking Photo Using J2ME
    By sprateek in forum Mobile Java General
    Replies: 2
    Last Post: 2011-04-26, 11:27
  2. Error using Bouncycastle algorithm in j2me using wtk2.5
    By swetha25 in forum Mobile Java General
    Replies: 1
    Last Post: 2010-04-26, 05:00
  3. Using Camera Light While Taking Photo Using J2M
    By sprateek in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2009-02-03, 02:35
  4. Replies: 0
    Last Post: 2003-11-10, 01:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×