Results 1 to 3 of 3

Thread: Uable to debug :(

  1. #1
    Join Date
    Jan 2011
    Location
    Karachi, Pakistan
    Posts
    25
    Thanks
    2
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Smile Uable to debug :(

    Hello friends,

    I am new in this forum and Qt. I've started a project on Qdevelop. But whenever i tried to built the typed program, it says

    "Build (make)...
    make: g++: Command not found
    make: *** [build/mainwindowimpl.o] Error 127
    g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Ibuild -Ibuild -o build/mainwindowimpl.o src/mainwindowimpl.cpp
    ---------------------- Build finished without error----------------------"


    and when i try to build it,

    it says.

    "program doesn't exist, run built "

    please help me,

    thanks in advance

  2. #2
    Join Date
    Dec 2010
    Posts
    5
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Uable to debug :(

    Do you have g++ installed on your system? what do you get when you type, 'g++ --version'

    If you're missing g++ you can install it on debian / ubuntu linux using:

    sudo apt-get update
    sudo apt-get install build-essential make

    sound be similar packages for other linux distros

    Kind Regards,
    Rajinder Yadav

  3. #3
    Join Date
    Jan 2011
    Location
    Karachi, Pakistan
    Posts
    25
    Thanks
    2
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: Uable to debug :(

    Problem Solved

    Thank You Rajiv,,,, so kind of you.

    GOD bless You.

    Regards,

    Bilal Saeed

Similar Threads

  1. Qt + Linux + Eclipse - debug using debug build?
    By will49 in forum Qt Programming
    Replies: 6
    Last Post: 13th April 2012, 07:27
  2. Replies: 4
    Last Post: 30th September 2010, 11:31
  3. DEBUG macro not defined in debug build using vc++
    By piotr.dobrogost in forum Qt Programming
    Replies: 0
    Last Post: 21st July 2009, 14:07
  4. "Debug Assertion failed" in debug mode
    By hed in forum Qt Programming
    Replies: 10
    Last Post: 4th February 2008, 13:10
  5. Replies: 11
    Last Post: 22nd March 2006, 20:06

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.