-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Look into MacOS support. #81
Comments
Here's a report from the field: the results from a Catalina (macOS 10.15.7) system with
There didn't seem to be anything noteworthy in So the advice seems to be the same as #94, where you mentioned that some tweaking of the At the moment, I don't have the wherewithal to try to get CMake to build the app bundle (although I'm sure the solution is out there). However, I can get a working executable by just commenting out one section of the diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e953d05..6437e96 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -193,12 +193,12 @@ qt5_add_resources(SOURCE_FILES resource.qrc)
if(NOT CMAKE_BUILD_TYPE MATCHES Debug) #Release, RelWithDebInfo and MinSizeRel
if(WIN32) # Check if we are on Windows
set(SYSTEM_TYPE WIN32)
- elseif(APPLE) # MacOS X
- set(SYSTEM_TYPE MACOSX_BUNDLE)
-# else() # UNIX
-# set(SYSTEM_TYPE EXCLUDE_FROM_ALL)
+ # elseif(APPLE) # MacOS X
+ # set(SYSTEM_TYPE MACOSX_BUNDLE)
+ else() # UNIX
+ set(SYSTEM_TYPE EXCLUDE_FROM_ALL)
endif()
- message("System type is" ${SYSTEM_TYPE})
+ message("System type is " ${SYSTEM_TYPE})
endif()
# for Linux, BSD, Solaris, Minix I haven't kicked the tires on the application yet, but it loads and looks fine, which is 100% better than trying to build a typical GTK application on macOS. So there's that. Thanks for making Seer, and keep up the outstanding work! |
Thanks for building it on MacOS! I'll test your changes to the CMakeList.txt file. They might be good enough for Mac support. The UI under MacOS seems to have even more whitespace than Unix. Under Settings->Configuration, you can play around with different fonts. I'm interested if you see other Qt themes under View->Styles. Or maybe MacOS only allows one? Please kick the tires around. Let me know of any bugs or suggestions. Thanks for trying Seer. |
A couple more things to report after a quick look around:
As for the gdb situation, I installed
The first one is apparently harmless; at least it didn't deter me in a simple debugging session, apart from being kind of annoying to have to dismiss every time. The second—and I should've seen this coming—requires you follow these instructions to code-sign the Apart from those minor obstacles, I'm pretty much up-and-running! |
The "Windows" style under View → Styles is the most compact, so I've been using that one instead. Everything looks great regardless of which style, and that's a refreshing change compared to most cross-platform apps, so good choice with Qt. |
Cool. Good to hear different Qt styles are available on MacOS. I didn't put the code into Seer yet to save the selected style. I'll do that so the style is remembered for the next time Seer is launched. |
The default setting for "Start address Randomization" should be configurable in Settings->Configuration->Gdb. It can be set of "off". Make sure to save the new settings, then restart Seer. Let me know if it's still a problem. |
I suppose that is a MacOS thing. What version is it?
|
To confirm, you mean when you debug your program like this:
Or are you using Seer's debug dialog box? I suspect you want $HOME to be expanded by something (the gdb process) and 'mtime < -2d' to be treated as one argument to your program, and not three. |
The version of gdb I have is 11.2. Neither the
I didn't go digging too deeply into gdb's code to see if there could be some other cause, just enough to ascertain that the message actually was coming from gdb itself and not Seer. It's a pretty minor annoyance, though, as the dialog can be dismissed by just pressing Enter. It's not a show-stopper.
It is indeed a Mac thing, and it's well documented, and the MacPorts "port notes" reminds you to do this when you install the gdb package. I don't think it's anything you or Seer itself need to officially worry about.
That is what I was attempting to do (the argument to Thanks for the follow-ups. I'm actually all set for now, and if I end up doing some more fiddling and getting CMake to build an actual app bundle, I'll post an update. |
Hi. Okay. Cool. For now, I've updated the CMakefileList.txt with your change. I also made the Qt Style saveable with "Setttings->SaveConfiguration". Another person asked for this as well. So I might as well implement it. |
Cool, thanks! Cheers! |
Closing task. I new task can be created, if needed. |
Can Seer be built on MacOS?
From a user on Reddit.
https://www.reddit.com/r/cpp/comments/wjoi6b/seer_a_new_gui_frontend_to_gdbmi_updated_v18/
The text was updated successfully, but these errors were encountered: