Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unescaped backslashes are depreciated?
Qt 6.11 is out! See what's new in the release blog

Unescaped backslashes are depreciated?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.9k Views 1 Watching
  • 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
    sideous
    wrote on last edited by
    #1

    Hi I am new to the QT IDE and I am trying to build simple sample program with openCV. I started off with 7 errors which I believe are the result of a warning that I am getting about my the last line in my .pro file
    *"Unescaped backslashes are depreciated" * I have pasted the file below. Does anyone know what is meant by "Unescaped backslashes are depreciated"?

    #-------------------------------------------------

    Project created by QtCreator 2011-12-27T20:31:34

    #-------------------------------------------------

    QT += core

    QT -= gui

    TARGET = qt-opencv-take1
    CONFIG += console
    CONFIG -= app_bundle

    TEMPLATE = app

    SOURCES += main.cpp

    INCLUDEPATH += C:\OpenCV2.2\include
    LIBS += -LC:\OpenCV2.2\lib
    -lopencv_core220
    -lopencv_highgui220
    -lopencv_imgproc220
    -lopencv_features2d220
    -lopencv_calib3d220

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Try using forward slashes in the includepath line.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sideous
        wrote on last edited by
        #3

        Thanks that worked

        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