From de91f038faf81f1992768035d13d77d076ffc705 Mon Sep 17 00:00:00 2001 From: Michael Nutt Date: Fri, 12 Jan 2024 15:02:09 -0500 Subject: [PATCH] try declaring some qt classes --- Source/WTF/wtf/text/WTFString.h | 2 ++ Source/WTF/wtf/text/qt/StringQt.cpp | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/WTF/wtf/text/WTFString.h b/Source/WTF/wtf/text/WTFString.h index fa150bb666646..9cc165c20ded7 100644 --- a/Source/WTF/wtf/text/WTFString.h +++ b/Source/WTF/wtf/text/WTFString.h @@ -39,6 +39,8 @@ QT_BEGIN_NAMESPACE class QString; class QStringView; +class QLatin1StringView; +class QByteArrayView; QT_END_NAMESPACE #endif diff --git a/Source/WTF/wtf/text/qt/StringQt.cpp b/Source/WTF/wtf/text/qt/StringQt.cpp index 962f821a6cf03..df70b99353655 100644 --- a/Source/WTF/wtf/text/qt/StringQt.cpp +++ b/Source/WTF/wtf/text/qt/StringQt.cpp @@ -20,13 +20,15 @@ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "config.h" #include #include +#include +#include #include #include