Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Mac Lion] QT Won't Compile
Forum Updated to NodeBB v4.3 + New Features

[Mac Lion] QT Won't Compile

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    oatman
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved