Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QRegExpValidator.h does not exist
Qt 6.12 LTS is out! See what's new in the release blog

QRegExpValidator.h does not exist

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 1.4k 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.
  • G Offline
    G Offline
    GGAZ
    wrote on last edited by
    #1

    Hello, I'm developping an application using Qt 6.4.0.
    I have an error :
    'QRegExpValidator' file not found.
    In the Gui directory, indeed the file QRegExpValidator.h does not exist, is this normal?

    jsulmJ 1 Reply Last reply
    0
    • G GGAZ

      Hello, I'm developping an application using Qt 6.4.0.
      I have an error :
      'QRegExpValidator' file not found.
      In the Gui directory, indeed the file QRegExpValidator.h does not exist, is this normal?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @GGAZ Do you have

      QT += gui
      

      in your pro file?

      If you're using Qt6 then use QRegularExpressionValidator instead.
      https://forum.qt.io/topic/123653/why-is-there-no-description-of-qregexpvalidator-in-qt6-0-1-is-it-abandoned

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      G 1 Reply Last reply
      1
      • jsulmJ jsulm

        @GGAZ Do you have

        QT += gui
        

        in your pro file?

        If you're using Qt6 then use QRegularExpressionValidator instead.
        https://forum.qt.io/topic/123653/why-is-there-no-description-of-qregexpvalidator-in-qt6-0-1-is-it-abandoned

        G Offline
        G Offline
        GGAZ
        wrote on last edited by
        #3

        @jsulm yes! I have done this QT += gui
        with QRegularExpressionValidator it works better
        Merci!

        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
        • Unsolved