I'm having a bit of a problem updating my application (I'm working in Mac OSX). I'm generating both a unix executable and a Mac app. The unix executable is updated after compilation but the Mac app is not. For instance, when I add a button to my filemenu, it shows in the unix executable but not in the app.

I've tried running make clean, rebuilding through qmake myPro.pro... I tried removing the app because I thought a new one would be generated by qmake but that didn't work. The changed date remains the same for my Mac app while it changes for the unix executable.

This is troublesome because I can't access the file menu when running the unix executable. This is really the only reason why I need a working Mac app.

I've tried also tried compiling everything without the CONFIG -= app_bundle line in the pro file, but that didn't help.

This is my pro file:

Qt Code:
  1. TEMPLATE = app
  2.  
  3. QT += opengl
  4.  
  5. TARGET = glcviewer
  6. CONFIG += qt debug build_all
  7.  
  8. macx {
  9. CONFIG -= app_bundle
  10. }
  11.  
  12.  
  13. win32 {
  14.  
  15. CONFIG += console
  16.  
  17. LIBS += -L"$$(GLC_LIB_DIR)/lib" -lGLC_lib0
  18.  
  19. INCLUDEPATH += "$$(GLC_LIB_DIR)/include"
  20.  
  21. }
  22.  
  23.  
  24.  
  25. unix {
  26.  
  27. LIBS += -lGLC_lib
  28.  
  29. INCLUDEPATH += "/usr/include/GLC_lib"
  30.  
  31. }
  32.  
  33.  
  34.  
  35. win32:RC_FILE = glcviewer.rc
  36.  
  37.  
  38.  
  39. # Input
  40.  
  41. FORMS = testdialog.ui
  42.  
  43. HEADERS += glwidget.h mainwindow.h testdialog.h include/Endian.h include/Levelset3D.h include/glcamera.h include/glmodel.h
  44.  
  45. SOURCES += glwidget.cpp main.cpp mainwindow.cpp testdialog.cpp Levelset3D.cpp glcamera.cpp glmodel.cpp
  46.  
  47. RESOURCES += application.qrc
  48.  
  49.  
  50.  
  51. CCFLAGS = -fpermissive
To copy to clipboard, switch view to plain text mode 

Any ideas?