Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. error: 'QTextStream' dose not name a type
Forum Updated to NodeBB v4.3 + New Features

error: 'QTextStream' dose not name a type

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
8 Posts 2 Posters 1.3k Views
  • 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.
  • H Offline
    H Offline
    HMCL
    wrote on last edited by
    #1

    Hello, I want to run GCS program in ubuntu 18.04.1. When I run GCS program in Qt 5.14.2, error occurs. I don't know why the error occurs.
    Screenshot from 2021-07-21 16-20-31.png

    'QTextStream' does not name a type. How can I solve this error? Please give any advice or comment. Thank you!

    jsulmJ 1 Reply Last reply
    0
    • H HMCL

      Hello, I want to run GCS program in ubuntu 18.04.1. When I run GCS program in Qt 5.14.2, error occurs. I don't know why the error occurs.
      Screenshot from 2021-07-21 16-20-31.png

      'QTextStream' does not name a type. How can I solve this error? Please give any advice or comment. Thank you!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @HMCL So, it is about https://github.com/MishkaRogachev/JAGCS.git, right?
      Did you try to build on command line like shown in https://github.com/MishkaRogachev/JAGCS/blob/master/README.md ?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      H 1 Reply Last reply
      0
      • jsulmJ jsulm

        @HMCL So, it is about https://github.com/MishkaRogachev/JAGCS.git, right?
        Did you try to build on command line like shown in https://github.com/MishkaRogachev/JAGCS/blob/master/README.md ?

        H Offline
        H Offline
        HMCL
        wrote on last edited by
        #3

        @jsulm Yes I built JAGCS through cmake .. , make. Next, I made project file through command : 'qmake -project' and 'qmake JAGCS.pro'. Then, when I enter the command 'make' the above error occurs.

        jsulmJ 1 Reply Last reply
        0
        • H HMCL

          @jsulm Yes I built JAGCS through cmake .. , make. Next, I made project file through command : 'qmake -project' and 'qmake JAGCS.pro'. Then, when I enter the command 'make' the above error occurs.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @HMCL said in error: 'QTextStream' dose not name a type:

          Next, I made project file through command : 'qmake -project' and 'qmake JAGCS.pro'.

          Why?
          QtCreator supports CMake. There is no need to create pro file.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          H 1 Reply Last reply
          0
          • jsulmJ jsulm

            @HMCL said in error: 'QTextStream' dose not name a type:

            Next, I made project file through command : 'qmake -project' and 'qmake JAGCS.pro'.

            Why?
            QtCreator supports CMake. There is no need to create pro file.

            H Offline
            H Offline
            HMCL
            wrote on last edited by
            #5

            @jsulm For the first time I build the JAGCS, there is no launch file or .exe file. How can I launch the program without qmake JAGCS.pro?

            jsulmJ 1 Reply Last reply
            0
            • H HMCL

              @jsulm For the first time I build the JAGCS, there is no launch file or .exe file. How can I launch the program without qmake JAGCS.pro?

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @HMCL said in error: 'QTextStream' dose not name a type:

              For the first time I build the JAGCS

              Was the build successful? Also, which build steps did you follow? From the README.md:

              mkdir build
              cd build
              cmake ..
              make
              

              Did you clone the repository properly:

              git clone --recursive https://github.com/MishkaRogachev/JAGCS.git
              

              ?
              I don't know how the executable is named and where it is located.
              Don't know why you think creating pro file will help you.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              H 2 Replies Last reply
              1
              • jsulmJ jsulm

                @HMCL said in error: 'QTextStream' dose not name a type:

                For the first time I build the JAGCS

                Was the build successful? Also, which build steps did you follow? From the README.md:

                mkdir build
                cd build
                cmake ..
                make
                

                Did you clone the repository properly:

                git clone --recursive https://github.com/MishkaRogachev/JAGCS.git
                

                ?
                I don't know how the executable is named and where it is located.
                Don't know why you think creating pro file will help you.

                H Offline
                H Offline
                HMCL
                wrote on last edited by
                #7

                @jsulm I will retry the process. Thank you for your comment. I am little confused because I have been tried many method so I don't really remember whole process I done.

                1 Reply Last reply
                0
                • jsulmJ jsulm

                  @HMCL said in error: 'QTextStream' dose not name a type:

                  For the first time I build the JAGCS

                  Was the build successful? Also, which build steps did you follow? From the README.md:

                  mkdir build
                  cd build
                  cmake ..
                  make
                  

                  Did you clone the repository properly:

                  git clone --recursive https://github.com/MishkaRogachev/JAGCS.git
                  

                  ?
                  I don't know how the executable is named and where it is located.
                  Don't know why you think creating pro file will help you.

                  H Offline
                  H Offline
                  HMCL
                  wrote on last edited by
                  #8

                  @jsulm I solve the problem! Like you said, there is no need to create pro file. I found the launch file in 'result' folder! Thank you for your advice.

                  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