Changeset 162:11c3311cf84e


Ignore:
Timestamp:
09/05/2010 06:31:15 PM (8 years ago)
Author:
Dmitry Fedorov <fedorov@…>
Branch:
default
Phase:
public
Message:

bioview3d: support for dock launching on macosx

Location:
bioView3D
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • bioView3D/bioview3d.pro

    r154 r162  
    143143QT += xml network opengl webkit
    144144
    145 macx:RC_FILE = $$BV_ICNS/bioview3d.icns
    146 #QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
    147 #macx:LIBS += -faltivec -framework vecLib
     145macx {
     146  #ICON = $$BV_ICNS/bioview3d.icns
     147  QMAKE_INFO_PLIST = Info.plist
     148  TARGET = bioView3D
     149  #FILETYPES.files = bioview3d.icns
     150  #FILETYPES.path = Contents/Resources
     151  #QMAKE_BUNDLE_DATA += FILETYPES
     152   
     153  RC_FILE = $$BV_ICNS/bioview3d.icns
     154 
     155  #QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
     156  #LIBS += -faltivec -framework vecLib
     157}
     158
     159
    148160
    149161MOC_DIR = $$BV_GENS
     
    161173
    162174HEADERS += $$BV_SRC/window.h\
     175           $$BV_SRC/bioview3d.h\
    163176           $$BV_SRC/glwidget.h\
    164177           $$BV_SRC/voxels.h\
     
    172185# Main app
    173186SOURCES += $$BV_SRC/main.cpp\
     187           $$BV_SRC/bioview3d.cpp\
    174188           $$BV_SRC/window.cpp\
    175189           $$BV_SRC/glwidget.cpp\
  • bioView3D/macx_deploy

    r129 r162  
    11#!/bin/sh
    22
    3 macdeployqt bioview3d.app
     3macdeployqt bioView3D.app
  • bioView3D/src/main.cpp

    r75 r162  
    1414#include <QApplication>
    1515
     16#include "bioview3d.h"
    1617#include "window.h"
    1718
     
    2324  bool one_instance       = false;
    2425
    25   QApplication app(argc, argv);
     26  //QApplication app(argc, argv);
     27  BioView3D app(argc, argv);
     28  app.setOrganizationName("UCSB");
     29  app.setApplicationName("BioView3D");
     30  app.setApplicationVersion("0.0.15");
     31   
    2632
    2733  QStringList argl = QApplication::arguments();
Note: See TracChangeset for help on using the changeset viewer.