Results 1 to 16 of 16

Thread: QJSON Problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2012
    Location
    Porto
    Posts
    38
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default QJSON Problem

    Good morning,

    I downloaded the QJSON page

    QJSON

    Untarred and made as mandated by the tutorial. I used the Qmake.
    I opened the console "Qt 4.8.1 for Desktop (MinGW)."

    Then open the folder with the command QJSON

    Qt Code:
    1. cd qjson
    To copy to clipboard, switch view to plain text mode 

    After

    Qt Code:
    1. qmake -project src
    To copy to clipboard, switch view to plain text mode 
    after that it creates me file qjson.pro

    After the tutorial says to run the make command but the command is not known.

    Qt Code:
    1. make
    To copy to clipboard, switch view to plain text mode 

    What is the problem?

    cumps

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QJSON Problem

    Why did your run qmake -project src?

    BTW. Instead of make use mingw32-make.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Apr 2012
    Location
    Porto
    Posts
    38
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: QJSON Problem

    I'm following the tutorial.

    How to do it this way?

    cumps

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QJSON Problem

    Quote Originally Posted by plopes21 View Post
    How to do it this way?
    You press the following keys on your keyboard: m, i, n, g, w, 3, 2, -, m, a, k, e, <return>/<enter>.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Apr 2012
    Location
    Porto
    Posts
    38
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: QJSON Problem

    It does not work. is the image below with the error.

    json.png

    Thank you for your patience
    Attached Images Attached Images

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QJSON Problem

    Read my post again.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Apr 2012
    Location
    Porto
    Posts
    38
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: QJSON Problem

    I put as you said. in the image.

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QJSON Problem

    No, you didn't. I told you to use mingw32-make instead of make. That's not what you did. Have you ever built any project written with Qt?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. #9
    Join Date
    Apr 2012
    Location
    Porto
    Posts
    38
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: QJSON Problem

    But I did the first qmake and then the ming32-make like you said and does not work as you can see in the picture.

  10. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QJSON Problem

    No, I can see you entered "mingw32-make qjson.pro".

    Have you ever built any Qt project before?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  11. #11
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: QJSON Problem

    above that he did "mingw32-make" on its own.

    I never use make so dunno if that should work in that location anyway.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. Replies: 0
    Last Post: 8th May 2012, 19:50
  2. usring about QJson
    By DavidOrange in forum Qt for Embedded and Mobile
    Replies: 7
    Last Post: 17th October 2010, 08:18
  3. Qjson
    By Girija in forum Qt Programming
    Replies: 8
    Last Post: 17th September 2010, 14:19
  4. QJson Windows compile problem
    By skepticalgeek in forum Qt Programming
    Replies: 2
    Last Post: 9th August 2010, 01:15
  5. How to add a plugin? (QJson)
    By Thomas Wrobel in forum Newbie
    Replies: 5
    Last Post: 3rd December 2009, 21:46

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.