Results 1 to 5 of 5

Thread: qmake.conf in MAC OS

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2009
    Posts
    58
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default qmake.conf in MAC OS

    hi,
    I am trying to compile a code in QT Mac os .I am facing a problem "No rule to make target file (file specified do not contain correct address)
    .How i can correct that address .I mean How Path of qmake.conf is set in Qt.
    thnx

  2. #2
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 69 Times in 67 Posts

    Default Re: qmake.conf in MAC OS

    What are the exact steps you took to get this message?
    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

  3. #3
    Join Date
    Apr 2009
    Posts
    58
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: qmake.conf in MAC OS

    I have downloaded the package for QT 4.6 and installed it. I am able to compile projects, but there is one that im trying gives this error. The project file :
    Qt Code:
    1. ######################################################################
    2. # QextSerialPort Test Application (QESPTA)
    3. ######################################################################
    4.  
    5.  
    6. PROJECT = QESPTA
    7. TEMPLATE = app
    8. DEPENDPATH += .
    9. INCLUDEPATH += ../..
    10. QMAKE_LIBDIR += ../../build
    11.  
    12.  
    13. OBJECTS_DIR = .obj
    14. MOC_DIR = .moc
    15. UI_DIR = .uic
    16. CONFIG += qt thread warn_on debug
    17.  
    18.  
    19. HEADERS += MainWindow.h \
    20. MessageWindow.h \
    21. QespTest.h
    22.  
    23. SOURCES += main.cpp \
    24. MainWindow.cpp \
    25. MessageWindow.cpp \
    26. QespTest.cpp
    27.  
    28. CONFIG(debug, debug|release):LIBS += -lqextserialportd
    29. else:LIBS += -lqextserialport
    30.  
    31. unix:DEFINES = _TTY_POSIX_
    32. win32:DEFINES = _TTY_WIN_
    To copy to clipboard, switch view to plain text mode 

    Thanks.

  4. #4
    Join Date
    Apr 2009
    Posts
    58
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: qmake.conf in MAC OS

    i have used QT Creator to build, the code builds properly on windows platform but not on Mac OSX, the project is one of the samples from qextserialport project at sourceforge, the compile output in the Creator produces the following:

    make: *** No rule to make target `\usr\local\Qt4.6\mkspecs\macx-g++\qmake.conf', needed by `Makefile'. Stop.
    Qt Code:
    1. Running build steps for project QESPTA...
    2. Starting: /usr/bin/qmake /Users/admin/Desktop/QT/qextserialport/examples/qespta/QESPTA.pro -spec macx-g++ -r CONFIG+=debug_and_release -win32
    3. Exited with code 0.
    4. Starting: /usr/bin/make debug -w
    5. make: *** No rule to make target `\usr\local\Qt4.6\mkspecs\macx-g++\qmake.conf', needed by `Makefile'. Stop.
    6. make: Entering directory `/Users/admin/Desktop/QT/qextserialport/examples/qespta'
    7. make: Leaving directory `/Users/admin/Desktop/QT/qextserialport/examples/qespta'
    8. Exited with code 2.
    9. Error while building project QESPTA
    10. When executing build step 'Make'
    To copy to clipboard, switch view to plain text mode 
    Last edited by anupamgee; 9th February 2010 at 18:19. Reason: wrong use of CODE tag

Similar Threads

  1. qt.conf
    By wirasto in forum Qt Programming
    Replies: 5
    Last Post: 25th December 2009, 14:45
  2. Qt.conf??? Maybe not...
    By Nefastious in forum Installation and Deployment
    Replies: 1
    Last Post: 7th November 2009, 22:32
  3. Failure to read QMAKESPEC conf file
    By hosseinyounesi in forum Qt Programming
    Replies: 1
    Last Post: 24th July 2009, 04:12
  4. Failure to read QMAKESPEC conf file
    By hosseinyounesi in forum Newbie
    Replies: 3
    Last Post: 23rd July 2009, 17:46
  5. Trolltech.conf Linking
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 27th February 2007, 18:23

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.