I have built and uploaded a new version of NifSkope Mac with a better sized animation slider at the above link.
For the record, here's what I needed to do to compile and run NifSkope:
1. I have the Mac OS X developer tools on my Mac. If you don't, then you need to download and install them from Apple's Developer web site.
2. Download and install the
Qt SDK. This is a simple Mac OSX installer in a disk image.
3. Download and install
Git 1.7.1 for Leopard. This is a simple Mac OSX installer in a disk image.
4. Create a new folder called niftools. I have put it in my ~/Projects directory. It could be anywhere, but the following steps assume that's where it is.
5. In Terminal, type or copy/paste the following sequence of lines, each followed by return. Wait for the Terminal prompt to display after each one:
cd ~/Projects/niftools
git clone --recursive git://niftools.git.sourceforge.net/gitroot/niftools/nifskope
cd nifskope
./makeconfig.sh
/Developer/Tools/Qt/qmake
6. In Finder, open the newly created ~/Projects/niftools/nifskope folder.
Double click the file: NifSkope.xcodeproj.
This should open as an Xcode project.
7. The Project needs a few changes in order to build Nifskope correctly:
7.1
Include Cocoa,framework
Find /System/Library/Frameworks/Cocoa.framework in Finder.
Drag it into the 'External Frameworks and Libraries' group in the Xcode project window.
7.2
Add the XML files to the build
Find the following two files in the nifskope folder:
~/Projects/niftools/nifskope/docsys/nifxml/nif.xml
~/Projects/niftools/nifskope/docsys/kfmxml/kfm.xml
Drag each one onto 'NifSkope' in the Files and Groups list in the Xcode project window.
Highlight Bundle Resources in the Targets section of the Xcode project window.
Select the Project->New Build Phase->New Copy Files Build Phase menu item.
In the window that opens, select Destination: Executables. Close that window.
In the project window, drag the nif.xml and kfm.xml file icons to the new Copy Files item.
7.4
Workround for the Qt 'sizeFromContents()' crash
In the project window, select NifSkope->Sources->widgets->floatslider.cpp.
The source code for this file should display in the right hand window.
Use the function selection pop-up above the source code listing to find FloatSlider::sizeHint().
Change the last line of this function from:
Code:
return style()->sizeFromContents( QStyle::CT_Slider, &opt, QSize( w, h ), this ).expandedTo( QApplication::globalStrut() );
to:
Code:
return QSize( w*2, h*2 ).expandedTo( QApplication::globalStrut() );
To do a better job of fixing this, I probably need to build a debug version of the Qt frameworks.
7.3
Option: Target Leopard
I selected the Project->Edit Project Settings menu item and changed the 'Base SDK for All Configurations' pop-up to 'Mac OS X 10.5' instead of 'Current Mac OS' in order to build for Leopard, not just for 10.6.4. This isn't essential if you are only building for your own system.
8.
Build the Application
Select 'Release' in the top left pop-up menu in the project window.
Hit the Build and Run button and go make coffee, spend quality time with your family, grow old ... while the compiler crunches the source code.
NifSkope should come up running at the end of all this. If not, retrace your steps and check for error messages. Please let me know what didn't work.
When it does build and run, you can find the built application in ~/Projects/niftools/nifskope/build/Release/NifSkope.app. Copy that to your /Applications directory for future use.
Or, install the Qt Mac OS X libraries and download the NifSkope copy I have built. There is no step 3.