Results 1 to 4 of 4

Thread: Installing a wrapper.

  1. #1
    Join Date
    Jul 2008
    Posts
    48
    Thanks
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Installing a wrapper.

    Hi everyone,

    I want to make small wrapper application around a set of command line utilities, but I want to make sure that those programs are installed with my application. Anyone know how I can do this?

  2. #2
    Join Date
    Nov 2008
    Posts
    142
    Thanks
    3
    Thanked 20 Times in 20 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Installing a wrapper.

    Well, that's nothing qmake can do for you. It all depends on the package manager the distributions you are targeting is using. Unless you build packages for the distributions you target, you cannot enforce what is installed alongside your application.

    One thing you could do is checking the availability of those utilities when running your application, and inform the user that he has to install additional software to make full use of your application if those are not available.

  3. #3
    Join Date
    Jul 2008
    Posts
    48
    Thanks
    14
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Installing a wrapper.

    Cool, what would you suggest to verify that certain executables are in the path

    /opt/something/bin

    or for the user to specify the path of those execs?

  4. #4
    Join Date
    Nov 2008
    Posts
    142
    Thanks
    3
    Thanked 20 Times in 20 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Installing a wrapper.

    You can use QFile::exists() to check if files exist.

Similar Threads

  1. problem with Qt/ Windows--pls help
    By swamyonline in forum Installation and Deployment
    Replies: 8
    Last Post: 7th July 2008, 21:39
  2. can't create qmake when installing at windows XP with win32-g++
    By owen_263 in forum Installation and Deployment
    Replies: 4
    Last Post: 31st March 2008, 08:39
  3. installing and Qt3 and Qt4 in a single machine
    By joseph in forum Installation and Deployment
    Replies: 1
    Last Post: 20th June 2007, 14:58
  4. Problems installing QT4 on PPC Mac (Tiger)
    By f.stendike in forum Installation and Deployment
    Replies: 0
    Last Post: 21st November 2006, 16:17
  5. Installing Qt 4.1 (open source) on Windows XP
    By katrina in forum Installation and Deployment
    Replies: 8
    Last Post: 19th February 2006, 13:26

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.