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. lexical and preprocessor issue on c++
Forum Updated to NodeBB v4.3 + New Features

lexical and preprocessor issue on c++

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 4 Posters 2.9k 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.
  • A alex_890

    it wasnt marked but anyway nothing changed

    JonBJ Online
    JonBJ Online
    JonB
    wrote on last edited by
    #4

    @alex_890
    Presumably either your #include statement is wrong, the include path is wrong, or the necessary file(s) are not present in the directories. The C++ preprocessor is not an element of Qt/Qt Creator. Pasting your include line together with the error message you presumably receive would seem relevant....

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alex_890
      wrote on last edited by
      #5

      how do i do that?

      JonBJ 1 Reply Last reply
      0
      • A alex_890

        how do i do that?

        JonBJ Online
        JonBJ Online
        JonB
        wrote on last edited by
        #6

        @alex_890
        Do what? Are you asking how to use copy & paste under your operating system to show a line of code and an error message received? You're supposed to know how to do that....

        A 1 Reply Last reply
        0
        • JonBJ JonB

          @alex_890
          Do what? Are you asking how to use copy & paste under your operating system to show a line of code and an error message received? You're supposed to know how to do that....

          A Offline
          A Offline
          alex_890
          wrote on last edited by
          #7

          @JonB no no, when i open a proyect it has already writen #include <iostream> but it sais file not found

          JonBJ 1 Reply Last reply
          0
          • A alex_890

            @JonB no no, when i open a proyect it has already writen #include <iostream> but it sais file not found

            JonBJ Online
            JonBJ Online
            JonB
            wrote on last edited by
            #8

            @alex_890 said in lexical and preprocessor issue on c++:

            but it sais file not found

            What says it's not found? The compiler when you try to compile, Qt Creator with a tooltip/message against the line, or what? If the latter, does it actually error when you try to compile, are you using clang inside Creator for completion/hints? What is the include path, and have you looked inside there to make sure whether the files are actually present, or is it looking in the wrong place? Perhaps show a pic of which kit you have selected for the project?

            1 Reply Last reply
            0
            • A Offline
              A Offline
              alex_890
              wrote on last edited by
              #9

              it doesnt let me put any kits even i have installed all of them which come with the intalator

              JonBJ 1 Reply Last reply
              0
              • A alex_890

                it doesnt let me put any kits even i have installed all of them which come with the intalator

                JonBJ Online
                JonBJ Online
                JonB
                wrote on last edited by JonB
                #10

                @alex_890
                You said earlier:

                it wasnt marked but anyway nothing changed

                Anyway, clearly if you cannot select any kits you are going to have a problem. Not my area, maybe a screenshot of what kits it shows are available or not? And how/what did you install, do you even have a C++ compiler installed, and where?

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  alex_890
                  wrote on last edited by
                  #11

                  the thing that i said earlier was from the autodetect compiler, yes i have c++ compiler installed or at least its sais so.

                  b36a36b1-c93c-4a43-b0bf-b4e7b545794d-image.png

                  80170e91-9eaa-425e-9356-39fbc195e097-image.png

                  JonBJ jsulmJ 2 Replies Last reply
                  0
                  • A alex_890

                    the thing that i said earlier was from the autodetect compiler, yes i have c++ compiler installed or at least its sais so.

                    b36a36b1-c93c-4a43-b0bf-b4e7b545794d-image.png

                    80170e91-9eaa-425e-9356-39fbc195e097-image.png

                    JonBJ Online
                    JonBJ Online
                    JonB
                    wrote on last edited by JonB
                    #12

                    @alex_890
                    I don't know (unless clicking one of the Details buttons tells you more), but from the picture wait for someone here to tell you why it is saying "No suitable kits found"....

                    1 Reply Last reply
                    0
                    • A alex_890

                      the thing that i said earlier was from the autodetect compiler, yes i have c++ compiler installed or at least its sais so.

                      b36a36b1-c93c-4a43-b0bf-b4e7b545794d-image.png

                      80170e91-9eaa-425e-9356-39fbc195e097-image.png

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

                      @alex_890 Please show the Kits tab

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

                      1 Reply Last reply
                      1

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved