File indexing completed on 2025-01-05 04:00:17

0001 #!/bin/bash
0002 
0003 # SPDX-FileCopyrightText: 2013-2024 by Gilles Caulier  <caulier dot gilles at gmail dot com>
0004 #
0005 # SPDX-License-Identifier: BSD-3-Clause
0006 #
0007 
0008 ########################################################################
0009 # Fix QtWebkit includes under MXE where camel case header files sound like not generated at install.
0010 
0011 find . -regex '.*\.\(cpp\|h\)' -type f -print0 | xargs -r0 sed -e 's/#include <QWebView>/#include <qwebview.h>/g' -i
0012 find . -regex '.*\.\(cpp\|h\)' -type f -print0 | xargs -r0 sed -e 's/#include <QWebPage>/#include <qwebpage.h>/g' -i
0013 find . -regex '.*\.\(cpp\|h\)' -type f -print0 | xargs -r0 sed -e 's/#include <QWebFrame>/#include <qwebframe.h>/g' -i
0014 find . -regex '.*\.\(cpp\|h\)' -type f -print0 | xargs -r0 sed -e 's/#include <QWebElement>/#include <qwebelement.h>/g' -i
0015 find . -regex '.*\.\(cpp\|h\)' -type f -print0 | xargs -r0 sed -e 's/#include <QWebHistory>/#include <qwebhistory.h>/g' -i