[Mac Lion] QT Won't Compile

  • So first I wanna say that I am new to QT development but not to C++, earlier today I played around with the Windows installation and lots of success, however I then decided to dive into OSX Development and I cannot get anything to compile or work.

    So anyhow I just did a fresh installation of Xcode 4.2 with QT Creator and the rest of the SDK... Upon creating a QT Application whenever I go to run or build I end up with a linker issue. [main.o] Error 1 File not Found

    Compile Output:
    @21:24:46: Running build steps for project MyVFK...
    21:24:46: Starting: "/Users/Administrator/QtSDK/Desktop/Qt/4.8.0/gcc/bin/qmake" /Users/Administrator/MyVFK/MyVFK.pro -r -spec macx-g++ CONFIG+=declarative_debug
    21:24:46: The process "/Users/Administrator/QtSDK/Desktop/Qt/4.8.0/gcc/bin/qmake" exited normally.
    21:24:46: Starting: "/usr/bin/make" -w
    make: Entering directory /Users/Administrator/MyVFK' /Users/Administrator/QtSDK/Desktop/Qt/4.8.0/gcc/bin/uic mainwindow.ui -o ui_mainwindow.h g++ -c -pipe -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -I../QtSDK/Desktop/Qt/4.8.0/gcc/mkspecs/macx-g++ -I. -I../QtSDK/Desktop/Qt/4.8.0/gcc/lib/QtCore.framework/Versions/4/Headers -I../QtSDK/Desktop/Qt/4.8.0/gcc/include/QtCore -I../QtSDK/Desktop/Qt/4.8.0/gcc/lib/QtGui.framework/Versions/4/Headers -I../QtSDK/Desktop/Qt/4.8.0/gcc/include/QtGui -I../QtSDK/Desktop/Qt/4.8.0/gcc/include -I. -I. -F/Users/Administrator/QtSDK/Desktop/Qt/4.8.0/gcc/lib -o main.o main.cpp cc1plus: error: /usr/local/include: Permission denied make: *** [main.o] Error 1 make: Leaving directory/Users/Administrator/MyVFK'
    21:24:47: The process "/usr/bin/make" exited with code 2.
    Error while building project MyVFK (target: Desktop)
    When executing build step 'Make'@

    What I am noticing is that I am getting permission denied to "/user/local/include"...
    Any suggestions or tips?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.