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. Error when trying to install Qt on Ubuntu Linux

Error when trying to install Qt on Ubuntu Linux

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.7k 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.
  • G Offline
    G Offline
    gamaliel
    wrote on last edited by
    #1

    Hello

    I downloaded qt-opensource-linux-x64-5.2.1.run and tried to run it with Ubuntu.

    I typed chmod 700 and then
    ./qt-opensource-linux-x64-5.2.1.run

    I got the message
    line 1: syntax error near unexpected token newline' line 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'

    What could be causing this? How do I install qt on Linux?

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

      Hi and welcome to devnet,

      Are you sure you didn't just download a webpage ?

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

        It turns out that my university blocks Qt. There must be a keyword like free download that causes the University to block it. As a result a web page was downloaded stating that the site was blocked.

        I went elsewhere and downloaded a binary on my laptop and got a message indicating the download was incomplete when I tried running it on the Linux computer.

        I downloaded a newer version of qT and that worked.

        You were right about the web page, thanks

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

          You're welcome !

          Since you could install Qt, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

          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