Hi...I am making use of qnetworkaccessmanager.h header document at the height of main.cpp course in console application...and i am getting this error....."expected constructor, destructor, or form conversion prior to "(" token"what might be the couse for this issue...plz help me..thanks
Reply v Quote
Guru
Join day Mar 2009Location Brisbane, AustraliaPosts 7,734 thanks 13 Thanked 1,610 time in 1,537 write-ups Qt commodities platforms Wiki edit 17

*
Re: supposed constructor, destructor, or kind conversion prior to "(" token


A syntax error in her code, generally a missing semi-colon or #include, but without your code we can not tell.

You are watching: Expected constructor destructor or type conversion before token


"We can"t solve troubles by using the very same kind of thinking we provided when we developed them." -- EinsteinIf you space posting password then please use tags around it - makes addressing the difficulty easier.
Reply v Quote
Novice
Thanks because that ur reply.. But when I click the error .. That takes me come qnetworkaccessmanager.h file itself and the password is here
Join date Mar 2009Location Brisbane, AustraliaPosts 7,734 thanks 13 Thanked 1,610 times in 1,537 write-ups Qt commodities platforms Wiki to edit 17
Thanks for ur reply.. However when I click the error .. That takes me to qnetworkaccessmanager.h file itself andthe password is here..
Join date Sep 2009Location Wroclaw, PolandPosts 1,394 Thanked 342 time in 324 articles Qt assets communication
*

Join day Jan 2006Location Napoli, ItalyPosts 621 many thanks 5 Thanked 86 time in 81 posts Qt assets platforms
Join day Jan 2006Location Napoli, ItalyPosts 621 many thanks 5 Thanked 86 time in 81 articles Qt commodities communication
Ya then it compiles successfully....but qnetwork.h is not hard coded record ... The is a predefined file.....so just how should i look for errors in this file..................?????
Join day Mar 2009Location Brisbane, AustraliaPosts 7,734 thanks 13 Thanked 1,610 times in 1,537 write-ups Qt products platforms Wiki to edit 17
Firstly, if your program compiles without it climate you don"t need it, and also don"t have to correct errors in it.Secondly, as advised earlier, qnetwork.h is not part of Qt. It has dependencies that you are lacking before the include, specifically:
To specify the user interface identifier, encompass the header file Initguid.h prior to Qnetwork.h, but after Dshow.h and also other header files:
Thanks.. The solves mine problem.... Yet after doing this ns am getting one error ... Below isc:qtsdkmingwin..libgccmingw324.4.0.... ....includeqnetwork.h:46: error: meant unqualified-id before "}" token and also I want to be clear around if qnetwork.h is a component of qt structure or not.......

See more: Matrix® Biolage Shampoo And Conditioner Set, 33, Biolage Shampoo And Conditioner


Join day Jun 2007Location IndiaPosts 1,042 many thanks 8 Thanked 133 times in 128 short articles Qt products
*
communication
You may not post new threadsYou may not short article repliesYou may not write-up attachmentsYou may not modify your posts
Digia, Qt and their corresponding logos are trademarks of Digia Plc in Finland and/or other countries worldwide.