Coder Social home page Coder Social logo

pyside / buildscripts Goto Github PK

View Code? Open in Web Editor NEW
41.0 41.0 12.0 153 KB

Build scripts for building PySide from the Git repositories. Supports several Desktop Linux distributions, MeeGo Netbook and Mac OS X. Patches to support other distrubutions/systems welcome.

Shell 100.00%

buildscripts's People

Contributors

igor-bogomolov avatar kenobrien avatar plooney avatar techtonik avatar thp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

buildscripts's Issues

shiboken build bug

For Mac and Linux, the build scripts try to create an executable called shiboken in a directory which contains a subdirectory called shiboken.

To fix this do the following:

In shiboken-1.1.2/generator/

Renamed directory from shiboken to shiboken2

Updated with the following shiboken-1.1.2/generator/CMakeLists.txt

set(shiboken_SRC
generator.cpp
shiboken2/cppgenerator.cpp
shiboken2/headergenerator.cpp
shiboken2/overloaddata.cpp
shiboken2/shibokengenerator.cpp
shiboken2/shibokennormalize.cpp
main.cpp
)

if (NOT DISABLE_DOCSTRINGS)
set(shiboken_SRC ${shiboken_SRC} qtdoc/qtdocgenerator.cpp)
add_definitions(-DDOCSTRINGS_ENABLED)
endif()

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/shiboken2

latest source doesn't works on OS X 10.6.8

I downloaded, built and installed the latest Qt source code, then grab BuildScripts

export QT_SDK_HOME=/usr/local/Trolltech/Qt-4.8.1

./dependencies.osx.sh
...

 ./build_and_install 
...
[ 45%] Building CXX object ApiExtractor/tests/CMakeFiles/testnamespace.dir/testnamespace.cpp.o
Linking CXX executable testmultipleinheritance
Linking CXX executable testmodifydocumentation
Undefined symbols for architecture x86_64:
  "QXmlQuery::setQuery(QString const&, QUrl const&)", referenced from:
      DocParser::execXQuery(QXmlQuery&, QString const&) constin libapiextractor.a(docparser.cpp.o)
  "QXmlQuery::isValid() const", referenced from:
      DocParser::execXQuery(QXmlQuery&, QString const&) constin libapiextractor.a(docparser.cpp.o)
  "QXmlQuery::evaluateTo(QString*) const", referenced from:
      DocParser::execXQuery(QXmlQuery&, QString const&) constin libapiextractor.a(docparser.cpp.o)
  "QXmlQuery::QXmlQuery()", referenced from:
      QtDocParser::retrieveModuleDocumentation(QString const&)  in libapiextractor.a(qtdocparser.cpp.o)
      QtDocParser::fillDocumentation(AbstractMetaClass*)        in libapiextractor.a(qtdocparser.cpp.o)
  "QXmlQuery::setFocus(QUrl const&)", referenced from:
      QtDocParser::retrieveModuleDocumentation(QString const&)  in libapiextractor.a(qtdocparser.cpp.o)
      QtDocParser::fillDocumentation(AbstractMetaClass*)        in libapiextractor.a(qtdocparser.cpp.o)
  "QXmlQuery::~QXmlQuery()", referenced from:
      QtDocParser::retrieveModuleDocumentation(QString const&)  in libapiextractor.a(qtdocparser.cpp.o)
      QtDocParser::fillDocumentation(AbstractMetaClass*)        in libapiextractor.a(qtdocparser.cpp.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
[ 45%] make[2]: *** [ApiExtractor/tests/testmodifydocumentation] Error 1
make[1]: *** [ApiExtractor/tests/CMakeFiles/testmodifydocumentation.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Built target testmultipleinheritance
Linking CXX executable testmodifyfunction
[ 45%] Built target testmodifyfunction
Linking CXX executable testnamespace
[ 45%] Built target testnamespace
make: *** [all] Error 2

Environment: OS X 10.6.8.

Variable set to NOTFOUND

Hi there! I'm trying to install on CentOs 6 using the buildscripts.
I followed the instructions in the readme, and I end up having the configuration fail on pyside install with this error:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_PHONON_INCLUDE_DIR
   used as include directory in directory /home/murphyra/repos/BuildScripts/pyside/build/CMakeFiles/CMakeTmp

CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Checking for VideoCaptureDevice in phonon -- not found
CMake version greater than 2.8 necessary to run tests
-- QT_SRC_DIR variable not set or graphviz not found, apidoc generation targets disabled.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_PHONON_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /home/murphyra/repos/BuildScripts/pyside/PySide/phonon

-- Configuring incomplete, errors occurred!

I've checked, and the directory /usr/include/phonon exists.
I even tried setting that env variable, but it has no effect on the error.

Even after scouring the interwebs, I can't find a fix to this. Any advice?

git failing

My company blocks ssh out of our network so I have to rely on using https. Coul dthe Scripts be made to use https?

install system-wide?

It'd be really nice if there were a 'really install' script that would install the completed libs system-wide.

Mac OS 10.7 error: Could not find a minimal constructor for type 'const QPoint &'.

My system: Mac OS 10.7, Qt 4.8.1 (installed via the Mac OS 10.6 or later online installer from http://qt-project.org/downloads), building for -arch x86_64

I am getting this error:

/usr/include/QtGui.framework/Headers/qmatrix4x4.h
** WARNING scope not found for function definition:QLine::QLine
definition ignored
(these warnings continue for other function definitions...)
...
Could not find a minimal constructor for type 'const QPoint &'. This will result in a compilation error.
/bin/sh: line 1: 79195 Abort trap: 6
/Users/audreyr/pkg/pyside-sandbox/bin/shiboken --generator-set=shiboken --enable-parent-ctor-heuristic --enable-pyside-extensions --enable-return-value-heuristic --use-isnull-as-nb_nonzero /Users/audreyr/code/pyside-build-scripts/pyside/build/PySide/pyside_global.h --include-paths=/Users/audreyr/code/pyside-build-scripts/pyside/PySide:/Library/Frameworks --typesystem-paths=/Users/audreyr/code/pyside-build-scripts/pyside/PySide:/Users/audreyr/code/pyside-build-scripts/pyside/PySide/QtCore --output-directory=/Users/audreyr/code/pyside-build-scripts/pyside/build/PySide/QtCore --license-file=/Users/audreyr/code/pyside-build-scripts/pyside/PySide/QtCore/../licensecomment.txt /Users/audreyr/code/pyside-build-scripts/pyside/build/PySide/QtCore/typesystem_core.xml --api-version=4.8 --drop-type-entries=""
make[2]: *** [PySide/QtCore/PySide/QtCore/qabstracteventdispatcher_wrapper.cpp] Error 134
make[1]: *** [PySide/QtCore/CMakeFiles/QtCore.dir/all] Error 2
make: *** [all] Error 2

Any clues would be much appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.