March 14, 2011

Luca Luca
Ant Farmer
589 posts

[Solved] QRegExpValidator: No such file or directory

 

Hi all,
I’m developing an application using Qt 4.7.1 compiled by myself in Linux.
Now I need to:

  1. #include <QRegExpValidator>

but I get the error in the title of post:
  1. QRegExpValidator: No such file or directory

What do you think is the problem?

4 replies

March 14, 2011

Andre Andre
Area 51 Engineer
6031 posts

Do you have the GUI module included as part of your project?
Could you try this in your .pro file?

  1. QT += gui

 Signature 

Looking for Qt developers to join our team @ i-Optics: https://qt-project.org/forums/viewthread/25393/

March 14, 2011

Luca Luca
Ant Farmer
589 posts

Yes… :D
Thanks and sorry for the stupid question.

March 14, 2011

Andre Andre
Area 51 Engineer
6031 posts

Luca wrote:
Yes… :D
Thanks and sorry for the stupid question.

I take this to mean that your problem is solved?

 Signature 

Looking for Qt developers to join our team @ i-Optics: https://qt-project.org/forums/viewthread/25393/

March 14, 2011

Luca Luca
Ant Farmer
589 posts

Yes, It solved the problem.

 
  ‹‹ [Split] QString/QByteArray conversion problems      Model subclassing - how to signal data change ››

You must log in to post a reply. Not a member yet? Register here!