Results 1 to 6 of 6

Thread: creating a deb package

  1. #1
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default creating a deb package

    hello, i recently started writing programs for linux, still i have a proble; i would like to deploy my program as a .deb package, but iam totally lost, it is so different with the system of dll on windows! please i need help, first knowing dependencies of my Qt programm, and secondly making a deb package for it...

  2. #2
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: creating a deb package

    It's not so different on Linux, I mean creating .msi is not so trivial task also.
    Basically .deb package is equivalent to windows .msi file and .so libraries on Linux are "same as" .dll files (Shared_libraries).

    How to create deb... well use google and type something along these lines: "how to create deb package" : (link1, link2)

    To check what dependences program needs use "ldd progName" see i.e. this
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

  3. #3
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: creating a deb package

    thanks for your answer, instructions on the link1 are very easy, and i like it, but, first off all, after 'make' in my source directory, i can not 'make install'
    gilles@gilles-K50AF:~/Patriott_sources$ sudo make install
    [sudo] password for gilles:
    make: Nothing to be done for `install'.
    how can i come about this?

  4. #4
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: creating a deb package

    According to the information in that post (I didn't done this myself) you need use
    Qt Code:
    1. sudo checkinstall
    To copy to clipboard, switch view to plain text mode 
    instead of "sudo make install".
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

  5. #5
    Join Date
    Feb 2011
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: creating a deb package

    Quote Originally Posted by Talei View Post
    According to the information in that post (I didn't done this myself) you need use
    Qt Code:
    1. sudo checkinstall
    To copy to clipboard, switch view to plain text mode 
    instead of "sudo make install".
    this seems perfect, and it creates the debian package and install, but the program is nowhere in my installed program, are there some configuration i need to do to the C++/Qt sources before? or anything else i have not done?

  6. #6
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: creating a deb package

    Search for the directory name or application name because probably package name is named after that (or simply search package name).
    Btw. this has probably nothing to do with Qt and is tool specific. You can create .deb with other tools as well, refer to distribution manual.
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

Similar Threads

  1. When should to package DLL
    By Wong in forum Qt Programming
    Replies: 1
    Last Post: 19th January 2011, 07:20
  2. howto package rpm archive
    By dmendizabal in forum Qt Programming
    Replies: 1
    Last Post: 5th July 2010, 08:02
  3. creating package for ubuntu with usb device dependency
    By schnitzel in forum Installation and Deployment
    Replies: 0
    Last Post: 21st January 2010, 18:31
  4. QT 4.4 Package for Debian
    By Tavo92 in forum Installation and Deployment
    Replies: 3
    Last Post: 6th August 2008, 18:03
  5. Creating Package Installer
    By AP.Sakkthivel in forum General Programming
    Replies: 3
    Last Post: 18th July 2007, 19:18

Tags for this Thread

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.