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. Compiling on OpenSUSE
Forum Updated to NodeBB v4.3 + New Features

Compiling on OpenSUSE

Scheduled Pinned Locked Moved Solved Installation and Deployment
11 Posts 3 Posters 3.4k 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.
  • C Offline
    C Offline
    CutieFairy
    wrote on last edited by CutieFairy
    #1

    I just installed QT 5.7 on OpenSUSE Leap 42.1with GNOME and created a fresh project. When I attempt to compile the program I get the following error message:

    Error while building/deploying project untitled (kit: Desktop Qt 5.7.0 GCC 64bit)
    When executing step "qmake".

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

      Hi and welcome to devnet,

      Can you post the full error text ?

      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
      • C Offline
        C Offline
        CutieFairy
        wrote on last edited by
        #3

        That is the full text in the compile output, unless there is more text in some file.

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

          What do you have in the compile output panel ?

          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
          • C Offline
            C Offline
            CutieFairy
            wrote on last edited by
            #5

            The following text:
            Error while building/deploying project untitled (kit: Desktop Qt 5.7.0 GCC 64bit)
            When executing step "qmake"

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

              Ok, then if you go in the preference under Build and Run is there anything suspicious in the Kit ?

              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
              • C Offline
                C Offline
                CutieFairy
                wrote on last edited by
                #7

                It says that there is no compiler set in the kit Desktop Qt 5.7.0 GCC 64bit

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

                  Then you have to install gcc before you can continue.

                  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
                  • C Offline
                    C Offline
                    CutieFairy
                    wrote on last edited by
                    #9

                    Now, instead of not being able to compile, in the issues tab it says:
                    cannot find -IGL
                    and
                    collect2: error: Id returned 1 exit status.

                    1 Reply Last reply
                    0
                    • hskoglundH Offline
                      hskoglundH Offline
                      hskoglund
                      wrote on last edited by hskoglund
                      #10

                      Hi, try

                      sudo zypper in xorg-x11-libxcb-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-renderutil-devel xcb-util-wm-devel xorg-x11-devel libxkbcommon-devel libXi-devel
                      

                      (Copied from https://wiki.qt.io/Building_Qt_5_from_Git
                      I don't think all is necessary but can't hurt.)

                      1 Reply Last reply
                      2
                      • C Offline
                        C Offline
                        CutieFairy
                        wrote on last edited by
                        #11

                        Thank you! Now it works.

                        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