Results 1 to 3 of 3

Thread: Depoyment Qt application as Shared Library

  1. #1
    Join Date
    Mar 2014
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows Android

    Angry Depoyment Qt application as Shared Library

    Hi.
    I know that it was question that have the same Titel but I asking anyway.
    I made a simple poject.
    usin information from "Qt for Linux/X11- Deployng"
    in terminal I wrout
    cd /path to my application
    make clean // no problems here
    qmake -config release //I get a long list of information that I don't know how to use I only whant to make some sort installation to run this esay project on another machine

    QMake has two modes, one mode for generating project files based on
    some heuristics, and the other for generating makefiles. Normally you
    shouldn't need to specify a mode, as makefile generation is the default
    mode for qmake, but you may use this to test qmake on an existing project

    Mode:
    -project Put qmake into project file generation mode
    In this mode qmake interprets files as files to
    be built,
    defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C
    Note: The created .pro file probably will
    need to be edited. For example add the QT variable to
    specify what modules are required.
    -makefile Put qmake into makefile generation mode (default)
    In this mode qmake interprets files as project files to
    be processed, if skipped qmake will try to find a project
    file in your current working directory

    Warnings Options:
    -Wnone Turn off all warnings
    -Wall Turn on all warnings
    -Wparser Turn on parser warnings
    -Wlogic Turn on logic warnings

    Options:
    * You can place any variable assignment in options and it will be *
    * processed as if it was in [files]. These assignments will be parsed *
    * before [files]. *
    -o file Write output to file
    -unix Run in unix mode
    -win32 Run in win32 mode
    -macx Run in Mac OS X mode
    -d Increase debug level
    -t templ Overrides TEMPLATE as templ
    -tp prefix Overrides TEMPLATE so that prefix is prefixed into the value
    -help This help
    -v Version information
    -after All variable assignments after this will be
    parsed after [files]
    -norecursive Don't do a recursive search
    -recursive Do a recursive search
    -set <prop> <value> Set persistent property
    -query <prop> Query persistent property. Show all if <prop> is empty.
    -cache file Use file as cache [makefile mode only]
    -spec spec Use spec as QMAKESPEC [makefile mode only]
    -nocache Don't use a cache file [makefile mode only]
    -nodepend Don't generate dependencies [makefile mode only]
    -nomoc Don't generate moc targets [makefile mode only]
    -nopwd Don't look for files in pwd [project mode only]


    In documentation a read that I have to try with Plug&Paint application in examples folder. There is no such project there (Qt 5.2.1) !
    Then I found that Qt5 have to builds from Git but in list of distros I didn't find Linux Mint.
    I try to make an installation for Linux but I can't understand why it have to be such torture . Why VS can provide tools to make installation packages but not Qt Creator team.
    Is it any tutorial for Dummies how make the installation of Qt project?
    Hope some one can answer without tell me how stupid I am.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Depoyment Qt application as Shared Library

    What exactly is your question?

    Cheers,
    _

  3. #3
    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: Depoyment Qt application as Shared Library

    Before you can deploy a built Qt project to another machine you need to be able to build it. You have not got that far yet.
    Qt Code:
    1. cd /path to my application
    2. make clean // no problems here
    3. qmake -config release //I get a long list of information that I don't know how to use I only whant to make some sort installation to run this esay project on another machine
    To copy to clipboard, switch view to plain text mode 
    You get that result when there is no PRO file in the current directory for qmake to process, or there is more than one and you have not named the PRO file to process.

    When you have successfully built your project then you can look to deployment.

Similar Threads

  1. QT Shared library
    By vishnukumarmdu@gmail.com in forum Qt Programming
    Replies: 2
    Last Post: 19th May 2012, 03:40
  2. Using symbols from loading application in shared library
    By barteksch in forum Qt Programming
    Replies: 1
    Last Post: 19th November 2010, 17:08
  3. How to deploy application using shared library in Linux
    By cutie.monkey in forum Installation and Deployment
    Replies: 9
    Last Post: 21st January 2010, 18:41
  4. Application with shared library problem in linux
    By cutie.monkey in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2010, 07:20
  5. qmake: dependency of application on common shared library
    By PeterWurmsdobler in forum Qt Programming
    Replies: 5
    Last Post: 27th March 2009, 16:13

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.