Results 1 to 7 of 7

Thread: create application file

  1. #1
    Join Date
    May 2012
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X

    Default create application file

    Hi gurus,
    i've completed (and successfully compiled) a program created as Qt Widget Project -> Qt GUI Application.
    Now i can see that in order to run the app without compiling everytime, i can open directly the .app file inside a folder i chose as "Build directory".
    Then let's come to my questions:
    1) is this ".app" file self sufficient? I mean..if i transfer it alone (no others files included in build directory) in another pc, which does not even have Qt compiler, will it run?
    2) is it possible to use it in ipad? (it works in mac ios 10.6.8)

    thanks

    Andrea

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,713
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: create application file

    There is no "Qt" compiler - there is moc, but that is not a real compiler - it only generates code for your c++ compiler.
    A target machine does not need a compiler, (unless you are distributing your code as well).
    For a user to use your application, you will have to distribute the executable, and its dependencies , which means the Qt libs your application is using.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: create application file

    Quote Originally Posted by giarandrea View Post
    2) is it possible to use it in ipad? (it works in mac ios 10.6.8)

    thanks

    Andrea
    No, it's not.
    Did Apple release new mac osx called mac ios 10.6.8?

    As for deploying Qt's apps for mac read [url="http://qt-project.org/doc/qt-4.8/deployment-mac.html"]this[url].
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  4. #4
    Join Date
    May 2012
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: create application file

    thanks for your answers guys
    i'm reading the link on deployment but since i'm quite new in programming i need a "less technical" explanation on deploying apps (such as a step by step tutorial)..if you have any link (for mac, not win) it would be apreciated..
    thanks

  5. #5
    Join Date
    May 2012
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: create application file

    one more question ..how is it possible to install my app to ipad?

    thanks

  6. #6
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: create application file

    Now, there is no Qt port for iOS. If you want to write apps for iOS then you are using wrong forum. You have to use Objective-C and iOS SDK for native development. At least for now. Digia has plans to port Qt for iOS, but nobody knows when it's happend.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  7. #7
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,713
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: create application file

    What spirit said is generally correct.
    But strictly speaking, you could write Qt apps for iOS - there are even few Qt apps on Apple App store.
    This however is not trivial, and you will have to follow a process to get it approved by Apple.
    Google it.
    However, as you are very new to this, I don't think this is something you will manage as a beginner - but who knows - good luck!
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. How to create .msg file using QT application?
    By kishoreksnair in forum Newbie
    Replies: 5
    Last Post: 16th December 2011, 23:28
  2. How to create the set up file after completing the application???
    By Gokulnathvc in forum General Programming
    Replies: 6
    Last Post: 2nd April 2011, 11:36
  3. How to create application help?
    By cydside in forum Qt Programming
    Replies: 1
    Last Post: 25th July 2009, 19:18
  4. How to Create Executable file for my QT application
    By c_srikanth1984 in forum Qt Programming
    Replies: 2
    Last Post: 19th March 2009, 04:02
  5. How can I create this application?
    By hgedek in forum Qt for Embedded and Mobile
    Replies: 10
    Last Post: 19th January 2008, 16:21

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.