Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiler can't find libs on OS X 10.9 after installation
Forum Updated to NodeBB v4.3 + New Features

Compiler can't find libs on OS X 10.9 after installation

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 693 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.
  • D Offline
    D Offline
    dmlux
    wrote on last edited by
    #1

    Hi,

    Today I've pulled the source files for Qt 5.4 and configured and build the frameworks. I'm working on a Mac with OS X 10.9. I followed all the steps that where described in this article

    http://qt-project.org/wiki/Building_Qt_5_from_Git

    The build processed finished without any build error messages after using the following commands.

    @
    ./configure -developer-build -opensource -nomake examples -nomake tests -confirm-license
    make -j4
    @

    The git folder for qt5 now contains the framework files for the submodules in the submodules lib folders (The qt5 folder size now is ~15GB). Like in the article described I do not have to run the make install build because of the -developer-build flag in the configuration. Now I wanted to test the libs and created a simple cpp-File

    @
    #include <QApplication>
    #include <QTextEdit>

    int main(int argv, char **args)
    {
    QApplication app(argv, args);

        QTextEdit textEdit;
        textEdit.show();
    

    return app.exec();
    }
    @

    for testing. But the compiler can't find the libs. How can I configure my mac to find all needed frameworks/libraries of Qt. Is there a environment variable that should be set or should the qt5 folder be moved in a special folder?

    My plan is to develop my applications in the Xcode IDE and than just compile it without using an external compiler over terminal.

    Thank you in advance for your help!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You have to use qmake first to create a pro file then again to generate a Xcode project.

      Everything is explained "here":http://qt-project.org/doc/qt-5/macosx.html

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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