Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. build from src
Forum Updated to NodeBB v4.3 + New Features

build from src

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.2k Views 2 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.
  • J Offline
    J Offline
    jamat13
    wrote on last edited by
    #1

    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?

    JKSHJ 1 Reply Last reply
    0
    • J jamat13

      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?

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      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)

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      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