Skip to content

Instantly share code, notes, and snippets.

View kaadam's full-sized avatar

Ádám Kallai kaadam

  • University of Szeged
  • Szeged
View GitHub Profile
@kaadam
kaadam / map.diff
Created July 21, 2020 11:33
generating list of mangled name of functions
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 35b0f8f501de..5f14f065fc68 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -2251,6 +2251,7 @@ config("symbols") {
if (is_clang && use_lld && use_ghash) {
cflags += [ "-gcodeview-ghash" ]
ldflags = [ "/DEBUG:GHASH" ]
+ ldflags += [ "/MAP" ]
} else {
@kaadam
kaadam / gist:3b347bc9e566c9812ad8
Last active November 10, 2015 09:17
tst_colorChooser.qml testcase
From 23f580022df9578f985fda3be32b0d183fe6dc16 Mon Sep 17 00:00:00 2001
From: Adam Kallai <kadam@inf.u-szeged.hu>
Date: Wed, 28 Oct 2015 07:18:44 -0700
Subject: [PATCH 2/2] Add tst_colorChooser.qml API testcase
Change-Id: I473f3a822c4531b928cfad9730bb65dc4f92e850
---
tests/auto/quick/qmltests/data/colorchooser.html | 18 ++++
.../auto/quick/qmltests/data/tst_colorChooser.qml | 98 ++++++++++++++++++++++
.../QtWebEngine/UIDelegates/ColorDialog.qml | 59 +++++++++++++
@ECHO OFF
set MAKE=jom
set CL=/MP
set QTDIR=C:\bot\Qt\qt5-55-dev
set QTSRCDIR=C:\bot\Qt\qt5-55-src
set PATH=%PATH%;%QTDIR%\qtbase\bin
rem set PATH=%PATH%C:\Qt5.2.1-qtwe-2013-source\qt5\gnuwin32\bin;
@ECHO OFF
set QTDIR=
set CC=
set CXX=
set LD=
set LIB=c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\LIB;
set LIB=%LIB%C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x86;
set LIB=%LIB%C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\lib;
link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.6 /MANIFEST:embed /OUT:C:\bot\Qt\qt5-55-dev\qtbase\lib\Qt5WebEngineWidgetsd.dll @C:\Users\digia\AppData\Local\Temp\Qt5WebEngineWidgetsd.dll.916.7535.jom
Creating library C:\bot\Qt\qt5-55-dev\qtbase\lib\Qt5WebEngineWidgetsd.lib and object C:\bot\Qt\qt5-55-dev\qtbase\lib\Qt5WebEngineWidgetsd.exp
qwebenginepage.obj : warning LNK4217: locally defined symbol ??1QWebEngineScriptCollection@@QAE@XZ (public: __thiscall QWebEngineScriptCollection::~QWebEngineScriptCollection(void)) imported in function "public: virtual __thiscall QWebEnginePagePrivate::~QWebEnginePagePrivate(void)" (??1QWebEnginePagePrivate@@UAE@XZ)
qwebengineprofile.obj : warning LNK4049: locally defined symbol ??1QWebEngineScriptCollection@@QAE@XZ (public: __thiscall QWebEngineScriptCollection::~QWebEngineScriptCollection(void)) imported
qwebenginepage.obj : warning LNK4217: locally defined symbol ??0QWebEngineScriptCollection@@AAE@PAVQWebEngineScriptCollectionPr
C:\bot\buildslave\w32sdt\build>qmake -r
Reading C:/bot/buildslave/w32sdt/build/src/src.pro
Reading C:/bot/buildslave/w32sdt/build/src/core/core.pro
Reading C:/bot/buildslave/w32sdt/build/src/core/core_gyp_generator.pro
Reading C:/bot/buildslave/w32sdt/build/src/core/gyp_run.pro
Project MESSAGE: Running gyp_qtwebengine "C:/bot/buildslave/w32sdt/build/src/core" -D qt_cross_compile=0 -D qt_os="win32" -I config/windows.gypi -D qtwe_chromium_obj_dir="C:/bot/buildslave/w32sdt/build/src/core/Debug/obj/src/3rdparty/chromium" -D perl_exe="perl.exe" -D bison_exe="bison.exe" -D gperf_exe="gperf.exe" --no-parallel -D qt_egl_library="libEGLd.lib" -D qt_glesv2_library="libGLESv2d.lib" -D qt_gl="angle" -D disable_nacl=1 -D remoting=0 -D use_ash=0 -D disable_glibcxx_debug=1 -D remove_webcore_debug_symbols=1 -D target_arch=ia32 -D qt_install_data="C:/bot/Qt/qt5-55-dev/qtbase" -D qt_install_translations="C:/bot/Qt/qt5-55-dev/qtbase/translations"...
using python: C:\Python27\python.exe version: 2.7.9
Using external chromiu
[0522/061124:FATAL:visitedlink_master.h(439)] Check failed: used_count == used_items_ (29 vs. 28)
#0 0x7fca3537733b base::debug::StackTrace::StackTrace()
#1 0x7fca353c4b89 logging::LogMessage::~LogMessage()
#2 0x7fca34d80ecf visitedlink::VisitedLinkMaster::DebugValidate()
#3 0x7fca34d7f0dd visitedlink::VisitedLinkMaster::InitFromFile()
#4 0x7fca34d7db12 visitedlink::VisitedLinkMaster::Init()
#5 0x7fca30a238f9 QtWebEngineCore::WebEngineVisitedLinksManager::WebEngineVisitedLinksManager()
#6 0x7fca309b2b4f QtWebEngineCore::BrowserContextAdapter::visitedLinksManager()
#7 0x7fca30a16732 QtWebEngineCore::WebContentsDelegateQt::DidNavigateAnyFrame()
#8 0x7fca340167a0 content::WebContentsImpl::DidNavigateAnyFramePostCommit()
Breakpoint 1, content::RenderProcessHostImpl::AddObserver (this=0x8de1b0, observer=0x8c8390)
at ../../../src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl.cc:939
939 printf("Observer added. %p \n", observer);
(gdb) bt
#0 content::RenderProcessHostImpl::AddObserver (this=0x8de1b0, observer=0x8c8390)
at ../../../src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl.cc:939
#1 0x00007fffefbb3e2a in content::SiteInstanceImpl::GetProcess (this=0x8c8370)
at ../../../src/3rdparty/chromium/content/browser/site_instance_impl.cc:113
#2 0x00007fffef7ae2f0 in content::RenderFrameHostManager::CreateRenderFrameHost (this=0x8c5c30, site_instance=0x8c8370,
view_routing_id=-2, frame_routing_id=-2, swapped_out=false, hidden=false)
diff --git a/tests/auto/quick/qmltests/data/tst_filePicker.qml b/tests/auto/quick/qmltests/data/tst_filePicker.qml
index 28b035a..af167f7 100644
--- a/tests/auto/quick/qmltests/data/tst_filePicker.qml
+++ b/tests/auto/quick/qmltests/data/tst_filePicker.qml
@@ -71,9 +71,10 @@ TestWebEngineView {
webEngineView.url = "about:blank"
webEngineView.waitForLoadSucceeded()
}
-
+/*
Hi QtWebKit developer,
The Qt 4.6 is already unsupported and the QtWebKit is marked deprecated in the current released version Qt 5.5. https://wiki.qt.io/New-Features-in-Qt-5.5
I can see two other alternatives which you can try:
The first if you use QtWebEngine (which will be instead of QtWebKit).
It supports i.mx6 board but you need to have Qt Enterprise for it.
More details about QtWebEngine: http://blog.qt.io/blog/2014/05/13/news-from-the-qt-webengine-team/
The second if you want to use QtWebKit then I think