Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Reg: QT version not properly Installed
Forum Updated to NodeBB v4.3 + New Features

Reg: QT version not properly Installed

Scheduled Pinned Locked Moved Mobile and Embedded
12 Posts 2 Posters 4.2k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    When you built Qt 4.6 did you do a "make install" afterward ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Vishva
      wrote on last edited by
      #3

      Yes, My ltib does that for me... attached In-line partial qt-embedded.spec file from LTIB

      ./configure --prefix=$RPM_BUILD_DIR/../../rootfs/usr/local/Trolltech -embedded arm -xplatform qws/linux-g++-mx -release
      -qt-gfx-linuxfb -qt-kbd-tty -qt-mouse-tslib -little-endian -host-little-endian -fontconfig -sm -v -opensource -confirm-license $XTRA_OPTS

      make

      %Install

      export PATH=$UNSPOOF_PATH
      install -d $RPM_BUILD_ROOT/%{pfx}/usr/local/Trolltech
      install -d $RPM_BUILD_ROOT/%{pfx}/usr/lib

      cp -a demos $RPM_BUILD_ROOT/%{pfx}/usr/local/Trolltech
      cp -a examples $RPM_BUILD_ROOT/%{pfx}/usr/local/Trolltech
      cp -a lib/* $RPM_BUILD_ROOT/%{pfx}/usr/lib

      export PATH=$SPOOF_PATH

      %Clean
      rm -rf $RPM_BUILD_ROOT

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #4

        Then try using the qmake that is found in the RPM_BUILD_ROOT

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • V Offline
          V Offline
          Vishva
          wrote on last edited by
          #5

          /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.6.0/bin/qmake

          i tried using qmake from rpm/BUILD only... It shows "QT version not properly Installed, please run make install”

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #6

            Thus, did you point Qt Creator to the qmake binary in the folder bin folder underneath $RPM_BUILD_ROOT/%{pfx}/usr/local/Trolltech/ ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • V Offline
              V Offline
              Vishva
              wrote on last edited by
              #7

              There is no qmake binary in /usr/local/Trolltech/...
              qmake is only available in
              "rpm/BUILD/qt-everywhere-opensource-src-4.6.0/bin/qmake"

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #8

                Then you need to call make install in order to get your Qt version up and running. It's been configured to be installed not used in-place

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  Vishva
                  wrote on last edited by
                  #9

                  I doubt it.. because my LTIB uses the same qmake and cross compiles for my arm arch. When i use QT creator i gt the error.. :-(

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    Did you check your computer /usr/local/Trolltech or the $RPM_BUILD_ROOT/%{pfx}/usr/local/Trolltech/ ? It's the second one is important

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • V Offline
                      V Offline
                      Vishva
                      wrote on last edited by
                      #11

                      Hi,
                      I checked at /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rootfs/usr/local/Trolltech
                      there is only demos and examples in there... no qmake...

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #12

                        Ok, then using the qmake you've have configured in Qt Creator, what does qmake -query return ?

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        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