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. [SOLVED] gcc not recognized in QT after installation
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] gcc not recognized in QT after installation

Scheduled Pinned Locked Moved General and Desktop
24 Posts 4 Posters 11.1k Views 4 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.
  • D Offline
    D Offline
    developSomething
    wrote on last edited by tekojo
    #21

    Now that i have tried everything mentioned another idea came to my mind:

    Could it be possible it is my IP which is disliked by ubuntu? therefor only offering certain packages, excluding dev?

    (moderation comment: we don't think there is a global conspiracy on Ubuntu packages, and looks like the problem was solved below)

    1 Reply Last reply
    0
    • D developSomething

      @SGaist
      It is the same result as above
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      E: Paket libgl1-mesa-dev kann nicht gefunden werden.

      I dont know if it has to do wih my Ubuntu 14.04LTS, i downloaded the official iso and made a dvd from it to install on my Lenovo PC
      so it should be a normal installation?!

      And a more general question: isn't there a more complete package for qt-installation? I mean this is really the hard way to get one error fixed after the other. One surprise follows the next.
      I mean without your help i wouldn't be able to get anything done within weeks?!

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

      Hi,

      @developSomething said:

      and this is the content of /etc/apt/sources.list:

      I see that you don't have any official repositories available. See https://help.ubuntu.com/community/Repositories/Ubuntu to add them. (At the very least, you need the "Main" repository. I also suggest adding "Universe" and "Restricted" to make Ubuntu nicer to useable.)

      Then, try downloading the packages again.

      isn't there a more complete package for qt-installation? I mean this is really the hard way to get one error fixed after the other. One surprise follows the next.

      I've been using Ubuntu as a secondary computer for many years now. All this while, the only things I've needed to do to develop with Qt on Ubuntu are:

      1. Install Ubuntu
      2. Install g++
      3. Install OpenGL development libraries (Mesa)
      4. Install Qt

      You're having difficulties because your machine has been misconfigured somewhere. (Usually,some repositories are enabled by default as soon as you install Ubuntu.)

      Maybe this is kind of a location-based-service, meaning, well...
      In my neighborhood there are living a lot of people from all over the world, including many muslims.
      Could it be possible it is my IP which is disliked by ubuntu? therefor only offering certain packages, excluding dev?

      Given that Canonical wants Ubuntu to spread all over the world, I'd be very surprised if they did this. However, you could ask at https://askubuntu.com to verify.

      Anyway, I don't see how Muslims are related to your issue.

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

      D 1 Reply Last reply
      1
      • JKSHJ JKSH

        Hi,

        @developSomething said:

        and this is the content of /etc/apt/sources.list:

        I see that you don't have any official repositories available. See https://help.ubuntu.com/community/Repositories/Ubuntu to add them. (At the very least, you need the "Main" repository. I also suggest adding "Universe" and "Restricted" to make Ubuntu nicer to useable.)

        Then, try downloading the packages again.

        isn't there a more complete package for qt-installation? I mean this is really the hard way to get one error fixed after the other. One surprise follows the next.

        I've been using Ubuntu as a secondary computer for many years now. All this while, the only things I've needed to do to develop with Qt on Ubuntu are:

        1. Install Ubuntu
        2. Install g++
        3. Install OpenGL development libraries (Mesa)
        4. Install Qt

        You're having difficulties because your machine has been misconfigured somewhere. (Usually,some repositories are enabled by default as soon as you install Ubuntu.)

        Maybe this is kind of a location-based-service, meaning, well...
        In my neighborhood there are living a lot of people from all over the world, including many muslims.
        Could it be possible it is my IP which is disliked by ubuntu? therefor only offering certain packages, excluding dev?

        Given that Canonical wants Ubuntu to spread all over the world, I'd be very surprised if they did this. However, you could ask at https://askubuntu.com to verify.

        Anyway, I don't see how Muslims are related to your issue.

        D Offline
        D Offline
        developSomething
        wrote on last edited by
        #23

        @JKSH
        thanks to your little install guide now everything works fine!

        all i had to do was remove the whole ubuntu installation and restart from scratch.

        Surprisingly the repositories were all set up correctly by default, maybe it was because i have chosen the default US-english installation instead of the german one ..^^

        I would even be willing to add SOLVED to the title of the thread
        if only i knew how to?

        K 1 Reply Last reply
        0
        • D developSomething

          @JKSH
          thanks to your little install guide now everything works fine!

          all i had to do was remove the whole ubuntu installation and restart from scratch.

          Surprisingly the repositories were all set up correctly by default, maybe it was because i have chosen the default US-english installation instead of the german one ..^^

          I would even be willing to add SOLVED to the title of the thread
          if only i knew how to?

          K Offline
          K Offline
          koahnig
          wrote on last edited by koahnig
          #24

          @developSomething
          How to mark as solved?

          Simply go to the first post where you started. Press the gear wheel on the very right and select the left (Edit) symbol.
          Go to your title line. Add there [solved] in the beginning of line.

          Vote the answer(s) that helped you to solve your issue(s)

          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