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. Issues when Compiling PySide on MacOSX
Qt 6.11 is out! See what's new in the release blog

Issues when Compiling PySide on MacOSX

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 914 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi dear Qt community,

    I require your help, I have to compile PySide on Mac (with the sources found on gitorious) to make it work with a Python26 installation (I can't use the binaries because I need it to be addable to the PATH)

    The problem is I always get an error at 39% here is (a part of ) what the terminal gives me:

    @Linking CXX executable testcontainer
    [ 39%] Built target testcontainer
    [ 39%] Generating testctorinformation.moc
    Scanning dependencies of target testctorinformation
    [ 39%] Building CXX object ApiExtractor/tests/CMakeFiles/testctorinformation.dir/testctorinformation.cpp.o
    1 warning generated.
    Linking CXX executable testcodeinjection
    Undefined symbols for architecture x86_64:
    "QCoreApplication::QCoreApplication(int&, char**, int)", referenced from:
    TestCodeInjections::testReadFileUtf8() in testcodeinjection.cpp.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [ApiExtractor/tests/testcodeinjection] Error 1
    make[1]: *** [ApiExtractor/tests/CMakeFiles/testcodeinjection.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/tests/testconversionruletag.cpp:26:
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/tests/testutil.h:27:
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/abstractmetabuilder.h:28:
    /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/abstractmetalang.h:1347:10: warning:
    private field 'm_reserveIn file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/tests/testconversionoperator.cpp:26:
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/tests/testutil.h:27:
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/abstractmetabuilder.h:28:
    /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/abstractmetalang.h:1347:10: warning:
    private field 'm_reserved' is not used [-Wunused-private-field]
    d' is not used [-Wunused-private-field]
    uint m_reserved : 31;
    ^
    uint m_reserved : 31;
    ^
    1 warning generated.
    Linking CXX executable testconversionruletag
    [ 39%] Built target testconversionruletag
    1 warning generated.
    Linking CXX executable testconversionoperator
    [ 39%] Built target testconversionoperator
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/tests/testctorinformation.cpp:25:
    In file included from /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/abstractmetabuilder.h:28:
    /Users/jle_guen/Desktop/C4D MAC/BuildScripts-master/shiboken/ApiExtractor/abstractmetalang.h:1347:10: warning:
    private field 'm_reserved' is not used [-Wunused-private-field]
    uint m_reserved : 31;
    ^
    1 warning generated.
    Linking CXX executable testctorinformation
    [ 39%] Built target testctorinformation
    make: *** [all] Error 2@

    I thought it was because of "clang" but apparently I have the latest version

    I have a really small knowledge of the MacOSX system, but I can say all dependencies are up to date, and I work on a 10.8.3 version of Mac.

    Hope you can help,

    Ekibyo

    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