Lenovo x220 Hackintosh

14. October 2017 00:10 by Cameron in Hackintosh, Mac  //  Tags: , , ,   //   Comments

I recently acquired a Lenovo x220 for $60 to make a nearly 100% compatible hackintosh laptop. The x220 series allows for custom BIOS to be flashed to remove the Wifi whitelist enforced by Lenovo and I was able to install a Broadcom AC wireless card. Following this guide, http://x220.mcdonnelltech.com/, I now have a 95% compatible hackintosh laptop. The only thing that doesn't work is the SD card reader which isn't a big deal. I have installed macOS High Sierra on my 256GB mSATA SSD and I've set up the machine for iOS development. I plan to use this machine until I can buy a Macbook Pro or equivalent in the near future. Since the Lenovo x220 was released in 2011, I imagine I have about 2 years before this machine is obsoleted by the newest macOS. I should by that point be able to replace the laptop or buy an official Macbook Pro.

Happy New Year 2017!

14. January 2017 00:31 by Cameron in Hackintosh, Mac  //  Tags: , ,   //   Comments

Hey guys! It has been way too long since my last blog post. I will make more of an effort to write at least one blog entry per month this year. One of my latest tech thing I've been doing is getting a new hackintosh laptop configured for iOS development.

I read recently on Reddit that the Thinkpad X220T is the perfect hackintosh laptop. After looking for a decent sub $200 X220 device, I couldn't find any that were reasonably priced. I did however find a $115 Lenovo X230T with 8GB of RAM, an i5 2.6GHz Ivy Bridge, and a 320GB 7200RPM HDD! The laptop came with no OS, but that was no problem as I planned to install macOS Sierra. The install went through without a hitch. I have nearly 100% compatibility on this hackbook minus the internal Wifi and multi-touch on the touch screen. These are minor things that I can ignore as the rest of the laptop works quite well. I hope to write a more detailed post about this hackbook and my setup procedure soon.

Please stay tuned!

Qt Development on OS X Mountain Lion

1. October 2012 21:18 by Cameron in C++, Mac, Mac OS X, Qt  //  Tags: , , , , , ,   //   Comments

OS X Mountain Lion changes a few things on how XCode is installed. Xcode is now contained in an app bundle and the SDKs directory is part of the bundle contents, thus you will need to update your SDK paths in your project file like so:

MAC_SDK  = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
    if( !exists( $$MAC_SDK) ) {
        error("The selected Mac OSX SDK does not exist at $$MAC_SDK!")
    }
    QMAKE_MAC_SDK = $$MAC_SDK

If you want to support Snow Leopard as a target platform with your Qt applications, be sure to use the 10.7 SDK and not the default 10.8 SDK. Your app should work just fine in Snow Leopard provided that you don't make any calls to Lion specific features while using the 10.7 SDK.

Another important thing is to install the command line tools for GCC so that Qt can find the compiler during installation and successfully compile C/C++ applications from Qt Creator. If you do use the 10.8 SDK with any Qt version less than Qt 5.0, it will give warnings that OS X 10.8 is unsupported during compilation. These warnings can be safely ignored. Aside from that, everything else should be the same as before. Happy coding!

Month List

Tag cloud