Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT creator 5.5.1 warning character type to long for its type

QT creator 5.5.1 warning character type to long for its type

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 558 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.
  • N Offline
    N Offline
    Nitish94
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Nitish94
      wrote on last edited by
      #2

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

      aha_1980A 1 Reply Last reply
      1
      • N Nitish94

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

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Nitish94 So please close this topic as SOLVED. Thanks

        Qt has to stay free or it will die.

        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