Results 1 to 3 of 3

Thread: HowTo setup Qt 5 on a Mac to develop Andriod apps?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Apr 2014
    Posts
    116
    Qt products
    Qt5
    Platforms
    MacOS X
    Thanks
    8

    Default Re: HowTo setup Qt 5 on a Mac to develop Andriod apps?

    Hi _,

    you were right. Ant was not installed an my system so I installed it using MacPorts. After installing and rebooting I still get the same error. So Qt is not finding ant.
    Check if you have ant installed and it is in $PATH
    Terminal tells me for ant -version
    Apache Ant(TM) version 1.9.4 compiled on April 29 2014
    So I guess it is installed but what do you mean by $PATH?

    I have a ~/.profile file that looks like this:
    Qt Code:
    1. # MacPorts Installer addition on 2014-06-11_at_14:03:53: adding an appropriate PATH variable for use with MacPorts.
    2. export PATH=/opt/local/bin:/opt/local/sbin:$PATH
    3. # Finished adapting your PATH environment variable for use with MacPorts.
    4.  
    5. export PATH=/usr/local/apache-ant/bin:"$PATH"
    To copy to clipboard, switch view to plain text mode 
    The directory is correct. This is were the files are.

    [Update]
    Okay I think I got it. Within the Qt Andriod Settings I had to specify the path to ant as well. After doing that I got no errors.
    Last edited by KeineAhnung; 11th June 2014 at 16:26.

Similar Threads

  1. Replies: 5
    Last Post: 27th June 2013, 14:22
  2. Calling All Programmers, Develop Apps and monetize your app Today!!
    By therohan in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 9th July 2012, 12:50
  3. Develop C++ IDE
    By mvbhavsar in forum Newbie
    Replies: 8
    Last Post: 28th March 2011, 18:16
  4. Replies: 1
    Last Post: 30th July 2010, 07:23
  5. Replies: 0
    Last Post: 26th June 2009, 17:53

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
  •  
Qt is a trademark of The Qt Company.