To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10762
10761  |  10763
Subject: 
Re: LPub 4 Status
Newsgroups: 
lugnet.cad.dev, lugnet.cad.dev.mac
Date: 
Thu, 27 Mar 2008 17:00:22 GMT
Viewed: 
20315 times
  
In lugnet.cad.dev, Kevin L. Clague wrote:

So, popup menus work, but my main menu does not show up.

I found this information on trolltech:

http://doc.trolltech.com/3.3/mac-differences.html

but I don't know what it means to run out of a bundle.

Qmake created

lpub.app
  Contents
    Info.plist
    MacOS
    PkgInfo

Info.plist contains

<?xml version "1.0" "file://localhost/System/Library/DTDs/Property/List.dtd>
<plist version="0.9">
<dict>
  <key>CFBundleIconFile</key>
  <string></string>
  <key>CFBundlePackageType</key>
  <string>APPL</string>
  <key>CFBundleGetInfoString</key>
  <string>Created by Qt/QMake></string>
  <key>CFBundleSignature</key>
  <string>????</string>
  <key>CFBundleExecutable</key>
  <string>lpub</string>
  <key>NOTE</key>
  <string>Please, do NOT change this file -- It was generated buy
Qt/Qmake.</string>
</dict>
</plist>

PkgInfo contains

APPL????

It would seem these files are related to the issue, but I've got no idea how to
change them to use widgets.app as indicated by trolltech.

I'm not too familiar with Qt or Trolltech's recommendations, so maybe someone
else can help work out what you need to do. The Mac version of LDView 3.2 is a
Qt app, so maybe Travis can get you started.

The application bundle structure applies to most apps, though, so if you're not
familiar with that yet, take a look at some other applications to see how it
works. Right-click an application and select "Show Package Contents" - you'll
see the same sort of directory structure. Contents/Info.plist provides all sorts
of meta-data about the program
(http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/PListKeys.html),
Contents/MacOS typically contains the actual executable, and Contents/Resources
holds pretty much anything else - icons, help, etc. (Although Qmake presumably
sets all this up for you.)

The CFBundleExecutable property in Info.plist identifies the executable in
Contents/MacOS that runs when you launch the application.

Jim



Message is in Reply To:
  Re: LPub 4 Status
 
(...) So, popup menus work, but my main menu does not show up. I found this information on trolltech: (URL) I don't know what it means to run out of a bundle. Qmake created lpub.app Contents Info.plist MacOS PkgInfo Info.plist contains <?xml version (...) (16 years ago, 27-Mar-08, to lugnet.cad.dev, lugnet.cad.dev.mac)

81 Messages in This Thread:




















Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR