Results 1 to 3 of 3

Thread: I Need Urgent Help With these Projects

  1. #1
    Join Date
    Apr 2014
    Location
    South Africa
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Arrow I Need Urgent Help With these Projects

    Projects Information.docProjects.zip

    Hi there, I need urgent help with these projects I've tried doing them to no success. I'll appreciate your help.

  2. #2
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: I Need Urgent Help With these Projects

    I need urgent help with these projects I've tried doing them to no success. I'll appreciate your help.
    Sorry but I doubt that anyone will do your homework for you.

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: I Need Urgent Help With these Projects

    Financial part errors and some hints because I am feeling generous. Always start from the top.
    Qt Code:
    1. g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -o main.o main.cpp
    2. main.cpp:13:35: error: invalid digit "8" in octal constant
    3. main.cpp:14:33: error: invalid digit "9" in octal constant
    4. // ^^^ Those things that look like dates are not QDates
    5.  
    6. main.cpp: In function ‘int main()’:
    7. main.cpp:13:7: error: ‘class AssetList’ has no member named ‘add’
    8. main.cpp:14:7: error: ‘class AssetList’ has no member named ‘add’
    9. main.cpp:15:7: error: ‘class AssetList’ has no member named ‘add’
    10. // ^^^ As the error message says. There is an addAsset()
    11.  
    12. main.cpp:15:52: error: no matching function for call to ‘Saving::Saving(const char [4], int, int, double)’
    13. main.cpp:15:52: note: candidates are:
    14. In file included from main.cpp:5:0:
    15. saving.h:8:5: note: Saving::Saving(QString, QDate, double, double)
    16. saving.h:8:5: note: no known conversion for argument 2 from ‘int’ to ‘QDate’
    17. saving.h:5:7: note: Saving::Saving(const Saving&)
    18. saving.h:5:7: note: candidate expects 1 argument, 4 provided
    19. // ^^^ related to the first errors
    20.  
    21. main.cpp:16:7: error: ‘class AssetList’ has no member named ‘add’
    22. // ^^^ Looks familiar
    23.  
    24. main.cpp:16:55: error: no matching function for call to ‘Stock::Stock(const char [9], int, int, int)’
    25. main.cpp:16:55: note: candidates are:
    26. In file included from main.cpp:6:0:
    27. stock.h:8:5: note: Stock::Stock(QString, QDate, int, double)
    28. stock.h:8:5: note: no known conversion for argument 2 from ‘int’ to ‘QDate’
    29. stock.h:5:7: note: Stock::Stock(const Stock&)
    30. stock.h:5:7: note: candidate expects 1 argument, 4 provided
    31. // ^^^ related to the first errors
    32.  
    33. main.cpp:17:7: error: ‘class AssetList’ has no member named ‘add’
    34. // ^^^ Tireless complaining
    35.  
    36. main.cpp:17:53: error: no matching function for call to ‘Bond::Bond(const char [7], int, int, double)’
    37. main.cpp:17:53: note: candidates are:
    38. In file included from main.cpp:4:0:
    39. bond.h:8:5: note: Bond::Bond(QString, QDate, double, double)
    40. bond.h:8:5: note: no known conversion for argument 2 from ‘int’ to ‘QDate’
    41. bond.h:5:7: note: Bond::Bond(const Bond&)
    42. bond.h:5:7: note: candidate expects 1 argument, 4 provided
    43. // ^^^ related to the first errors
    44.  
    45.  
    46. main.cpp:20:4: error: ‘a1’ was not declared in this scope
    47. main.cpp:20:4: error: template argument 1 is invalid
    48. main.cpp:20:4: error: invalid type in declaration before ‘(’ token
    49. main.cpp:20:4: error: request for member ‘brk’ in ‘_container_’, which is of non-class type ‘int’
    50. main.cpp:20:4: error: request for member ‘i’ in ‘_container_’, which is of non-class type ‘int’
    51. main.cpp:20:4: error: request for member ‘e’ in ‘_container_’, which is of non-class type ‘int’
    52. main.cpp:20:4: error: request for member ‘brk’ in ‘_container_’, which is of non-class type ‘int’
    53. main.cpp:20:4: error: request for member ‘i’ in ‘_container_’, which is of non-class type ‘int’
    54. main.cpp:20:4: error: request for member ‘i’ in ‘_container_’, which is of non-class type ‘int’
    55. main.cpp:20:4: error: request for member ‘brk’ in ‘_container_’, which is of non-class type ‘int’
    56. // ^^^ Typo reeks havoc
    57.  
    58. ...
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. [URGENT]Can't run .exe outside QT5
    By bshikari in forum Newbie
    Replies: 21
    Last Post: 12th February 2013, 00:41
  2. I need urgent help
    By ntamas10 in forum Newbie
    Replies: 1
    Last Post: 20th June 2011, 06:54
  3. Replies: 2
    Last Post: 7th September 2010, 21:19
  4. Urgent! help
    By Sheng in forum Installation and Deployment
    Replies: 4
    Last Post: 22nd October 2008, 21:03
  5. [URGENT] Weird compile error [URGENT]
    By MarkoSan in forum Qt Programming
    Replies: 3
    Last Post: 24th May 2008, 23:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.