Results 1 to 2 of 2

Thread: building QJson

  1. #1
    Join Date
    Jun 2014
    Posts
    1
    Qt products
    Qt5
    Platforms
    MacOS X

    Default building QJson

    Hello,

    I am not sure if this is the write forum to poste this question since it is not directly Qt with which I have a problem. I am trying to install QJson on my mac so that my Qt app can send requests to google maps. I followed the procedures on the QJson website. But at the following command line :

    cmake -DCMAKE_INSTALL_PREFIX=_preferred_path

    I get cmake: command not found. I don't really understand which path I should use. Upon finding some information on other forums I think it has to do with qmake, but using the same path as qmake produces the same result.

    Or maybe the path isn't even the problem?

  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: building QJson

    If the cmake/qmake command is not found, make sure it is installed and in $PATH of the shell you run the command in.

    The path specified as an argument is the place where QJSON should be installed to.

    You should also consider using Qt5, it has JSON as part of the core library.

    Cheers,
    _

Similar Threads

  1. QJson
    By WetCode in forum Qt Programming
    Replies: 4
    Last Post: 20th February 2013, 23:54
  2. Using qjson in qtcreator and building with target remote compiler
    By BrunoC in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 17th March 2012, 16:10
  3. usring about QJson
    By DavidOrange in forum Qt for Embedded and Mobile
    Replies: 7
    Last Post: 17th October 2010, 09:18
  4. Qjson
    By Girija in forum Qt Programming
    Replies: 8
    Last Post: 17th September 2010, 15:19
  5. How to add a plugin? (QJson)
    By Thomas Wrobel in forum Newbie
    Replies: 5
    Last Post: 3rd December 2009, 22:46

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.