build from src



  • Short Story: I'm trying to build 4.5.n from src and get errors. Anybody a working build enviroment / howto please
    Long Story: I have an app Im trying to display on a BeagleBone Black with chipsee LCD display.
    The app builds and displays on 5.4.
    The BBB has only libs for 4.5.x
    I CAN build and display an example app on the BBB, but my app does nothing: blank screen nothing visible
    I want to build the app on a desktop 4.5.x to see it does work
    The only 4.5.x I can find is from src
    Building QT failes repeatedly eg
    functions/qcomparingaggregator.cpp:207:55: note: declarations in dependent base ‘QPatternist::ComparisonPlatform<QPatternist::ComparingAggregator<(QPatternist::AtomicComparator::Operator)8u, (QPatternist::AtomicComparator::ComparisonResult)1u>, true, (QPatternist::AtomicComparator::ComparisonType)2u, (QPatternist::ReportContext::ErrorCode)119u>’ are not found by unqualified lookup
    functions/qcomparingaggregator.cpp:207:55: note: use ‘this->prepareComparison’ instead
    functions/qcomparingaggregator.cpp: In instantiation of ‘QPatternist::Expression::Ptr QPatternist::ComparingAggregator<oper, result>::typeCheck(const Ptr&, const Ptr&) [with QPatternist::AtomicComparator::Operator oper = (QPatternist::AtomicComparator::Operator)4u; QPatternist::AtomicComparator::ComparisonResult result = (QPatternist::AtomicComparator::ComparisonResult)4u; QPatternist::Expression::Ptr = QExplicitlySharedDataPointerQPatternist::Expression; QPatternist::StaticContext::Ptr = QExplicitlySharedDataPointerQPatternist::StaticContext; QPatternist::SequenceType::Ptr = QExplicitlySharedDataPointer<const QPatternist::SequenceType>]’:
    functions/qxpath20corefunctions.cpp:745:1: required from here
    functions/qcomparingaggregator.cpp:207:55: error: ‘prepareComparison’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
    functions/qcomparingaggregator.cpp:207:55: note: declarations in dependent base ‘QPatternist::ComparisonPlatform<QPatternist::ComparingAggregator<(QPatternist::AtomicComparator::Operator)4u, (QPatternist::AtomicComparator::ComparisonResult)4u>, true, (QPatternist::AtomicComparator::ComparisonType)2u, (QPatternist::ReportContext::ErrorCode)119u>’ are not found by unqualified lookup
    functions/qcomparingaggregator.cpp:207:55: note: use ‘this->prepareComparison’ instead
    make[1]: *** [.obj/release-shared/qxpath20corefunctions.o] Error 1
    make[1]: Leaving directory `/home/jam/qt-x11-opensource-src-4.5.0/src/xmlpatterns'

    The platform is easy (linux) so good story anyone?


  • Moderators

    Hi @jamat13, and welcome to the Qt Dev Net!

    The BBB has only libs for 4.5.x

    What distro do you have on your BBB? If it's Ubuntu, then you can install pre-compiled Qt 5 through apt-get.

    Qt 4.5 is positively ancient, and it has not been supported for many years. Are you sure you want to use it? (I have never seen that error when building Qt, so I don't know how to solve it, sorry)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.