mtivadar / qiew

Home of Qiew - Reverse engineering tool
GNU General Public License v2.0
167 stars 26 forks source link

Mac OS X compatibility? #24

Open mtivadar opened 9 years ago

mtivadar commented 9 years ago

Qiew wasn't tested on MAC OS X. It should work, hopefully with minor modifications.

DamianFekete commented 9 years ago
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
brew install qt
brew install sip
brew install pyqt

Installing sip installs python 2.7 in /usr/local/bin, and puts in front of the /usr/bin in path. Change header qiew.py to

#!/usr/bin/env python2

After this qiew starts but doesn't receive key events (it does receive mouse clicks in the window). I've moved the event filter to Qiew and than it works (shift-keys don't work to select, they just move the cursor):

--- a/qiew.py
+++ b/qiew.py
@@ -134,7 +134,7 @@ class binWidget(QtGui.QWidget):
         self.activateWindow()
         self.setFocus()

-        self.installEventFilter(self)
+        #self.installEventFilter(self)
     """        
             # build thumbnail

@@ -469,6 +469,11 @@ class Qiew(QtGui.QWidget):
         self.setWindowTitle('qiew - {0}'.format(sys.argv[1]))
         self.showMaximized()
         self.wid.activateWindow()
+       self.raise_()
+       self.installEventFilter(self)
+
+    def eventFilter(self, watched, event):
+       return self.wid.eventFilter(watched, event)
mtivadar commented 9 years ago

selection doesn't work, perhaps transparency doesn't work? Have you tried selecting a section? ALT+S then F9 on a section.

DamianFekete commented 9 years ago

Transparency works. Also trying to dump the "selection" using the Ctrl-F10 shows the "no-selection" message in the console. I guess that "fix" above in the diff is not complete.

mtivadar commented 9 years ago

can you try again? some changes have been done. (fixes for linux)

DamianFekete commented 9 years ago

Selection still doesn't work. But keys work and window appears in front. Please change

#!/usr/bin/python

with

#!/usr/bin/env python2

because I'm starting the brew python version.

It would be nice to have a icon for the window :)

If you want to test more maybe I can set you an account on the laptop.

mtivadar commented 9 years ago

am schimbat '#!/usr/bin/python'. o să am nevoie de user probabil, pentru că eu nu am contact cu MAC. nu știu ce poate fi cu selecția.. probabil nu suportă transparency.

deci eventual să-mi faci cont.. da cam într-o săptămână..

DamianFekete commented 9 years ago

Dacă citești ceva mai sus vezi că merge transparency.

mtivadar commented 9 years ago

Da, ciudat. Poate nu recunoaște shift apăsat atunci On Aug 7, 2015 7:58 AM, "tehnicaorg" notifications@github.com wrote:

Dacă citești ceva mai sus vezi că merge transparency.

— Reply to this email directly or view it on GitHub https://github.com/mtivadar/qiew/issues/24#issuecomment-128595783.

Congee commented 8 years ago

Works greatly on OSX 10.10 I've just done some basic editing, and it seems work well except lack of support for key shortcuts, since I'm using the laptop macbook air. By the way, does it support mouse?

qiew is one of the a few hex editor with disassmbly support on OSX, but it's still on early stage. I believe you shall make a promotion about qiew on Hackernews or some other forums and blog. :D

mtivadar commented 8 years ago

Thanks! It does not support mouse yet. I'll try to figure it out what to do with the shortcuts also. Thanks for the suggestions also!