title: qmake not finding opencv package when built from within Qt creator
body: <p>I am fairly new to the Qt environment and I am running into an error when I try to build. I am also new to StackOverflow so pardon me if I miss format. When I run <code>qmake</code> from the command line it finds the <code>opencv</code> package and generates a Makefile, however when I run it from Qt Creator, it fails to find OpenCV.</p>
  
  <p>Here is my .pro file</p>
  
  <pre><code>#-------------------------------------------------
  #
  # Project created by QtCreator 2013-03-24T21:23:01
  #
  #-------------------------------------------------
  
  QT       += core
  QT       -= gui
  TARGET = cvtest
  CONFIG   += console
  CONFIG   -= app_bundle
  CONFIG+=link_pkgconfig
  PKGCONFIG+=opencv
  TEMPLATE = app
  SOURCES += main.cpp
  </code></pre>
  
  <p>I think it has to do with fully qualifying the path to qmake. 
  If I run</p>
  
  <blockquote>
    <p>qmake /Users/matt/untitled1/untitled1.pro -r -spec macx-g++ CONFIG+=x86_64</p>
  </blockquote>
  
  <p>on the command line it works fine, however if I fully qualify the path to qmake in the manner that Qt Creator does it;</p>
  
  <blockquote>
    <p>/Users/matt/Qt5.0.0/5.0.0/clang_64/bin/qmake /Users/matt/untitled1/untitled1.pro</p>
  </blockquote>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>Project ERROR: Package opencv not found</p>
  </blockquote>
  
  <p>Any ideas on how to make this work in Qt Creator without going to the command line?</p>