Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Compiling Qt Creator in OS X: unixutils.cpp
QtWS25 Last Chance

Compiling Qt Creator in OS X: unixutils.cpp

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 961 Views
  • 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.
  • A Offline
    A Offline
    Apelsinsaft
    wrote on last edited by
    #1

    Hi,

    While the fireworks lit up the sky outside, I celebrated new year's by trying to compile Qt Creator straight from git. The linker gave this error:

    Undefined symbols for architecture x86_64:
    "Utils::UnixUtils::fileBrowser(QSettings const*)", referenced from:
    Core::FileUtils::showInGraphicalShell(QWidget*, QString const&) in fileutils.o
    "Utils::UnixUtils::substituteFileBrowserParameters(QString const&, QString const&)", referenced from:
    Core::FileUtils::showInGraphicalShell(QWidget*, QString const&) in fileutils.o
    ld: symbol(s) not found for architecture x86_64

    I resolved it by removing the "!macx" condition on line 95 in src/libs/utils/utils-lib.pri, so that unixutils.cpp gets compiled for OS X. Is my fix "correct"? If so, should this be considered a bug in the utils-lib.pri file? I suspect that it might not be that simple, since unixutils.cpp was explicitly disabled for macx, but not for other unixes. However, Qt Creator built with the change, and seems to be running OK.

    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