Results 1 to 16 of 16

Thread: QJSON Problem

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

    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,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    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
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    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,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    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
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    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,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    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
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: QJSON Problem

    I put as you said. in the image.

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    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
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    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,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    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
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    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.

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

    Default Re: QJSON Problem

    Quote Originally Posted by amleto View Post
    above that he did "mingw32-make" on its own.
    Instead of "qmake"?
    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.


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

    Default Re: QJSON Problem

    Look, I downloaded again and the file. "Pro" does not exist.

    I run the command "mingw32-make" and how you see does not work.

    json.png

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

    Default Re: QJSON Problem

    Ok, let's get this straight... You are following some tutorial instead of just reading the instructions from the INSTALL file and following them. That's your choice but basically if you do that, you should complain to the author of the tutorial that you can't get this to work. Instead you come here and do everything to show us that you have completely no idea how to build any Qt project. Even if you finally manage to do so, I don't see how you intend to use that library, as I'm sure you have no idea how to do that as well. Then, the tutorial tells you to run "qmake -project src" and then run "make". You said you can't run make because there is no such command. I told you to replace make with mingw32-make, effectively changing the tutorial to "qmake -project src" and then running "mingw32-make". From what I see you have tried many combinations but not the one from the tutorial (which will not work anyway because it's missing one step (calling sole qmake between qmake -project and make) that is probably explained in the tutorial as well and you just skipped it). What do you expect us to do now? Go to your place and type the correct sequence on the keyboard for you?

    If you want to be a programmer then please spend some time on learning how to be one. Otherwise just switch occupations and become say.. a gardener. However you'll still need to put some effort to become one.
    Last edited by wysota; 20th June 2012 at 09:45.
    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.


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

    Default Re: QJSON Problem

    http://qjson.sourceforge.net/get_it/windows.html#h2

    I'm doing all the steps as you can see and does not work.
    Soon he could not have come here asking for help to the forum.
    I've read everything I had to read and I can not.

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

    Default Re: QJSON Problem

    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.


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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.