Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Error while building project

    India
    2
    2
    1419
    Loading More Posts
    • 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.
    • S
      saidhy last edited by

      I have downloaded QT 4.6 from QT site its size about 270 MB, than I installed it on my computer (windows system), it works very well with the simple programs such hello world(include only main file) but does not work with the programs that are complex relatively (include the main, cpp, and header file), and sends message like the following

      ......\Qt\2010.02.1\qt\mkspecs\win32-g++" -o debug\main.o main.cpp
      mingw32-make[1]: Leaving directory C:/Users/Smart/Documents/converterdailog' mingw32-make: Leaving directory C:/Users/Smart/Documents/converterdailog'
      main.cpp:3:33: error: ByteConverterDialog.h: No such file or directory
      main.cpp: In function 'int qMain(int, char**)':
      main.cpp:7: error: 'ByteConverterDialog' was not declared in this scope
      main.cpp:7: error: expected ';' before 'bc'
      main.cpp:8: error: 'bc' was not declared in this scope
      mingw32-make[1]: *** [debug/main.o] Error 1
      mingw32-make: *** [debug] Error 2
      Exited with code 2.
      Error while building project converterdailog
      When executing build step 'Make'

      1 Reply Last reply Reply Quote 0
      • C
        Code_ReaQtor last edited by

        can you show us the code (or part of it)?

        This line shows the first error. Maybe ByteConverterDialog.h does not exist at all.
        @main.cpp:3:33: error: ByteConverterDialog.h: No such file or directory@

        Please visit my open-source projects at https://github.com/Code-ReaQtor.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post