New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions to install it on OSX maybe outdated #315

Closed
SimplicityDevelopment opened this Issue May 23, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@SimplicityDevelopment

SimplicityDevelopment commented May 23, 2017

https://qtpass.org/downloads#macOS

Issue #1)
brew link --force qt5

Prints this warning:

$ brew link --force qt5
Linking /usr/local/Cellar/qt5/5.6.1-1... 
Error: Could not symlink bin/lconvert
Target /usr/local/bin/lconvert
is a symlink belonging to qt. You can unlink it:
  brew unlink qt

To force the link and overwrite all conflicting files:
  brew link --overwrite qt5

To list all files that would be deleted:
  brew link --overwrite --dry-run qt5

Following this suggestion...

$ brew link --overwrite qt5
Warning: qt5 is keg-only and must be linked with --force
Note that doing so can interfere with building software.

Adding --force to --overwrite...

$ brew link --overwrite --force qt5
Linking /usr/local/Cellar/qt5/5.6.1-1... 2263 symlinks created

...seams to work.

Issue #2)

$ qmake && make && macdeployqt QtPass.app
Usage: qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets files as files to
                 be built,
                 defaults to *; *; *; *.ts; *.xlf; *.qrc
                 Note: The created .pro file probably will 
                 need to be edited. For example add the QT variable to 
                 specify what modules are required.
  -makefile      Put qmake into makefile generation mode (default)
                 In this mode qmake interprets files as project files to
                 be processed, if skipped qmake will try to find a project
                 file in your current working directory

Warnings Options:
  -Wnone         Turn off all warnings; specific ones may be re-enabled by
                 later -W options
  -Wall          Turn on all warnings
  -Wparser       Turn on parser warnings
  -Wlogic        Turn on logic warnings (on by default)
  -Wdeprecated   Turn on deprecation warnings (on by default)

Options:
   * You can place any variable assignment in options and it will be     *
   * processed as if it was in [files]. These assignments will be parsed *
   * before [files].                                                     *
  -o file        Write output to file
  -d             Increase debug level
  -t templ       Overrides TEMPLATE as templ
  -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
  -help          This help
  -v             Version information
  -after         All variable assignments after this will be
                 parsed after [files]
  -norecursive   Don't do a recursive search
  -recursive     Do a recursive search
  -set <prop> <value> Set persistent property
  -unset <prop>  Unset persistent property
  -query <prop>  Query persistent property. Show all if <prop> is empty.
  -cache file    Use file as cache           [makefile mode only]
  -spec spec     Use spec as QMAKESPEC       [makefile mode only]
  -nocache       Don't use a cache file      [makefile mode only]
  -nodepend      Don't generate dependencies [makefile mode only]
  -nomoc         Don't generate moc targets  [makefile mode only]
  -nopwd         Don't look for files in pwd [project mode only]

Mandatory qmenu command line options are missing. Which options do we need?

$ qmake -v
QMake version 3.0
Using Qt version 5.6.1 in /usr/local/Cellar/qt5/5.6.1-1/lib

Please update documentation.

@annejan annejan self-assigned this May 23, 2017

@annejan annejan added the macOS label May 23, 2017

@annejan

This comment has been minimized.

Member

annejan commented Nov 8, 2017

  1. Updated in commit 89a05ce

  2. The qmake mode is -makefile
    Put qmake into makefile generation mode (default)

But that is (normally) implicit.

You can try qmake qtpass.pro

@annejan annejan closed this in 89a05ce Nov 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment