Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. India
  4. Error while building project
QtWS25 Last Chance

Error while building project

Scheduled Pinned Locked Moved India
2 Posts 2 Posters 1.6k 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.
  • S Offline
    S Offline
    saidhy
    wrote on last edited by
    #1

    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
    0
    • C Offline
      C Offline
      Code_ReaQtor
      wrote on last edited by
      #2

      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
      0

      • Login

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