Build error on Mac OSX

29 views
Skip to first unread message

Forrest Hong

unread,
Aug 12, 2021, 10:28:50 AM8/12/21
to ostinato
Hello Srivats

I checked out the laest code today and found following error when buit.
./macedit.h:43:22: error: unknown type name 'QRegExpValidator'
    setValidator(new QRegExpValidator(reMac, this));
                     ^
1 error generated.
make[1]: *** [stpconfig.o] Error 1
make: *** [sub-common-ostproto
 
And this error can be fixed by following oneline change.
diff --git a/common/macedit.h b/common/macedit.h
index 60c4d32..6c005be 100644
--- a/common/macedit.h
+++ b/common/macedit.h
@@ -21,6 +21,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>
 #define _MAC_EDIT_H
 
 #include <QLineEdit>
+#include <QRegExpValidator>
 
 class MacEdit: public QLineEdit
 {

Thanks
Forrest


Srivats P

unread,
Aug 14, 2021, 2:09:06 AM8/14/21
to Forrest Hong, ostinato
Thanks for reporting the issue Forrest.

I have committed the fix.

Srivats

--
Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
---
You received this message because you are subscribed to the Google Groups "ostinato" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ostinato/13eebd83-c76e-4408-b3ea-987d46c33344n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages