Results 1 to 3 of 3

Thread: problems with usbExample ASAP

  1. #1
    Join Date
    Aug 2012
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problems with usbExample ASAP

    hey
    i'm new with QT.
    I've tried to build the project of the usbExample (downloaded fron this site)
    but i'm facing few building errors which i'm not sure how to handle.
    the project was instructed on my desktop.
    I picked for the QT version the "QT 4.8.1.." with all the defaultive conf.
    the error i get is
    "Failure to read QMAKESPEC conf file c:/qt/2010.05/qt/mkspecs/win32-g++\qmake.conf."

    after changing the path to the corret directory i get
    "command failed with exit code 1120"
    "coommand failed with exit code 2"


    thank you thank you thank you


    Added after 16 minutes:


    if sombody knows about the following error it might help !

    'g++' is not recognized as an internal or external command
    Last edited by david_itay; 6th August 2012 at 17:59.

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

    Default Re: problems with usbExample ASAP

    last bit would indicate that g++ is not on your path, but is expected to be.

    I think it might be best to start from the beginning and show us the Qt install guide you are working from.
    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.

  3. #3
    Join Date
    Aug 2012
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problems with usbExample ASAP

    i will make my point more clear.
    after installing Qt Creator IDE and tools
    i've opened a project named USBExample by openning
    the file USBExample (QT project file)
    the first thing I did is building the project but it failed due to the following error :

    "
    Error while building project USBExample (target: Desktop)
    When executing build step 'qmake'
    "
    so i checked at the Projects Tab and i saw that QT version was : Invalid QT version.
    i've changed it to QT 4.8.1 for Desktop - MSVC2010 (Qt SDK) which was my only option and by choosing this option all the fields of qmake , Make (build steps , Clean steps) filled up automatically.

    qmake : qmake.exe USBExample.pro -r "CONFIG+=debug_and_release" -spec c:/qt/2010.05/qt/mkspecs/win32-g++
    Warning: The tool chain suggested "win32-msvc2010" as mkspec.
    Make: jom.exe debug in C:\USBExample
    Make: jom.exe clean in C:\USBExample

    after building theproject again i got this error :
    "
    20:49:56: Running build steps for project USBExample...
    20:49:57: Starting: "c:\qtsdk\desktop\qt\4.8.1\msvc2010\bin\qmake. exe" C:\USBExample\USBExample.pro -r "CONFIG+=debug_and_release" -spec c:/qt/2010.05/qt/mkspecs/win32-g++
    Failure to read QMAKESPEC conf file c:/qt/2010.05/qt/mkspecs/win32-g++\qmake.conf.
    Error processing project file: C:/USBExample/USBExample.pro
    20:49:57: The process "c:\qtsdk\desktop\qt\4.8.1\msvc2010\bin\qmake. exe" exited with code 3.
    Error while building project USBExample (target: Desktop)
    When executing build step 'qmake'

    "

    I HAVE NO IDEA WHAT TO NEXT !

    PLEASE HELP.

Similar Threads

  1. Replies: 1
    Last Post: 20th January 2014, 03:02
  2. Asap!!!! Qt duck shoot
    By audrensitas in forum General Discussion
    Replies: 2
    Last Post: 28th April 2011, 11:33
  3. Replies: 2
    Last Post: 23rd July 2010, 14:53
  4. Please help ASAP::QColorDialog
    By LiCodeX in forum Newbie
    Replies: 2
    Last Post: 2nd October 2007, 12:16
  5. QT4 Plugins - problems, problems
    By NormanDunbar in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 15:39

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.