Skip to content

Commit

Permalink
Merge pull request #11130 from unknownbrackets/qt-debugger
Browse files Browse the repository at this point in the history
Remove Qt debugger
  • Loading branch information
hrydgard committed Jun 6, 2018
2 parents f0be2d5 + ec398cb commit f7d7aee
Show file tree
Hide file tree
Showing 30 changed files with 18 additions and 5,903 deletions.
40 changes: 9 additions & 31 deletions CMakeLists.txt
Expand Up @@ -273,8 +273,13 @@ if(NOT MSVC)
if(IOS) if(IOS)
elseif(APPLE AND NOT CMAKE_CROSSCOMPILING) elseif(APPLE AND NOT CMAKE_CROSSCOMPILING)
# We want C++11, so target 10.7+ # We want C++11, so target 10.7+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.7") if(USING_QT_UI)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7 -stdlib=libc++ -U__STRICT_ANSI__") set(MACOSX_VERSION_MIN "10.8")
else()
set(MACOSX_VERSION_MIN "10.7")
endif()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=${MACOSX_VERSION_MIN}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=${MACOSX_VERSION_MIN} -stdlib=libc++ -U__STRICT_ANSI__")
set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++") set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
elseif(NOT ANDROID) elseif(NOT ANDROID)
# TODO: See if we can get rid of no-psabi # TODO: See if we can get rid of no-psabi
Expand Down Expand Up @@ -751,40 +756,13 @@ elseif(USING_QT_UI)
if(NOT SDL2_FOUND) if(NOT SDL2_FOUND)
find_package(Qt5 COMPONENTS Multimedia) find_package(Qt5 COMPONENTS Multimedia)
endif(NOT SDL2_FOUND) endif(NOT SDL2_FOUND)
set(Qt_UI
Qt/Debugger/debugger_disasm.ui
Qt/Debugger/debugger_displaylist.ui
Qt/Debugger/debugger_memory.ui
Qt/Debugger/debugger_memorytex.ui
Qt/Debugger/debugger_vfpu.ui
)
qt5_wrap_ui(QT_UI_GEN ${Qt_UI})
list(APPEND NativeAppSource list(APPEND NativeAppSource
${QT_UI_GEN}
Qt/QtMain.cpp Qt/QtMain.cpp
Qt/QtMain.h Qt/QtMain.h
Qt/QtHost.cpp Qt/QtHost.cpp
Qt/QtHost.h Qt/QtHost.h
Qt/mainwindow.cpp Qt/mainwindow.cpp
Qt/mainwindow.h Qt/mainwindow.h
Qt/Debugger/ctrldisasmview.cpp
Qt/Debugger/ctrldisasmview.h
Qt/Debugger/ctrlmemview.cpp
Qt/Debugger/ctrlmemview.h
Qt/Debugger/ctrlregisterlist.cpp
Qt/Debugger/ctrlregisterlist.h
Qt/Debugger/ctrlvfpuview.cpp
Qt/Debugger/ctrlvfpuview.h
Qt/Debugger/debugger_disasm.cpp
Qt/Debugger/debugger_disasm.h
Qt/Debugger/debugger_displaylist.cpp
Qt/Debugger/debugger_displaylist.h
Qt/Debugger/debugger_memory.cpp
Qt/Debugger/debugger_memory.h
Qt/Debugger/debugger_memorytex.cpp
Qt/Debugger/debugger_memorytex.h
Qt/Debugger/debugger_vfpu.cpp
Qt/Debugger/debugger_vfpu.h
) )
add_definitions(-DUSING_QT_UI) add_definitions(-DUSING_QT_UI)
include_directories(${CMAKE_CURRENT_BINARY_DIR} Qt Qt/Debugger) include_directories(${CMAKE_CURRENT_BINARY_DIR} Qt Qt/Debugger)
Expand Down Expand Up @@ -1701,7 +1679,6 @@ add_library(${CoreLibName} ${CoreLinkType}
Core/Util/ppge_atlas.h Core/Util/ppge_atlas.h
${CORE_NEON} ${CORE_NEON}
${GPU_SOURCES} ${GPU_SOURCES}
git-version.cpp
ext/disarm.cpp ext/disarm.cpp
git-version.cpp) git-version.cpp)


Expand Down Expand Up @@ -1751,7 +1728,8 @@ add_custom_command(OUTPUT something_that_never_exists
-P ${CMAKE_CURRENT_SOURCE_DIR}/git-version.cmake) -P ${CMAKE_CURRENT_SOURCE_DIR}/git-version.cmake)


set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/git-version.cpp set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/git-version.cpp
PROPERTIES GENERATED TRUE) PROPERTIES GENERATED TRUE
SKIP_AUTOMOC ON)
add_dependencies(${CoreLibName} GitVersion) add_dependencies(${CoreLibName} GitVersion)


set(WindowsFiles set(WindowsFiles
Expand Down
1 change: 1 addition & 0 deletions GPU/GPUInterface.h
Expand Up @@ -241,6 +241,7 @@ class GPUInterface {
virtual void DumpNextFrame() = 0; virtual void DumpNextFrame() = 0;
virtual void GetReportingInfo(std::string &primaryInfo, std::string &fullInfo) = 0; virtual void GetReportingInfo(std::string &primaryInfo, std::string &fullInfo) = 0;
virtual const std::list<int>& GetDisplayLists() = 0; virtual const std::list<int>& GetDisplayLists() = 0;
// TODO: Currently Qt only, needs to be cleaned up.
virtual std::vector<FramebufferInfo> GetFramebufferList() = 0; virtual std::vector<FramebufferInfo> GetFramebufferList() = 0;
virtual s64 GetListTicks(int listid) = 0; virtual s64 GetListTicks(int listid) = 0;


Expand Down

0 comments on commit f7d7aee

Please sign in to comment.