QT creator 5.5.1 warning character type to long for its type



  • Hello there,

    I am getting this warning : warning: character constant too long for its type
    VideoCapture cap('rtsp://192.xxx.x.xxx:554/StreamingSetting?version=1.0&action=login&userName=xxxxx&password=xxxxxx&getRTSPStream&ChannelID=1&ChannelName=Channel1');

    I think my code should work even if i have this worning but it doesn't really get the input from the camera. I wanted to know if it is something to do with this or no



  • hi guys, it works the problem was that i should have put " instead of '


  • Qt Champions 2017

    @Nitish94 So please close this topic as SOLVED. Thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.