Giter VIP home page Giter VIP logo

Comments (14)

MKleusberg avatar MKleusberg commented on May 22, 2024

You're using qmake, I suppose? Because we had some difficulties when it came to using extended features with qmake we've made the decision to move to cmake. We try to keep qmake support but only for a quick build; when it comes to a release build or things like make install I'd suggest using cmake. I hope this is an option for you :)

(Disclaimer: I'm assuming here that we have install support when using cmake but never tried it myself, maybe Rene can confirm this...)

from sqlitebrowser.

rp- avatar rp- commented on May 22, 2024

I didn't come around to add a useful install target to cmake.

Right now we only have the binary as output file, no docs, no translations(yet) to install.
This will get mandatory as soon as we have more additional runtime files.

from sqlitebrowser.

Jonrysh avatar Jonrysh commented on May 22, 2024

On Tue, 2014-05-27 at 11:20 -0700, Martin Kleusberg wrote:

You're using qmake, I suppose? Because we had some difficulties when
it came to using extended features with qmake we've made the decision
to move to cmake. We try to keep qmake support but only for a quick
build; when it comes to a release build or things like make install
I'd suggest using cmake. I hope this is an option for you :)

I downloaded sqlite-browser using the command:

    $ git clone https://github.com/sqlitebrowser/sqlitebrowser.git

and invoked make (not cmake or qmake) on sqlitebrowser/Makefile. The

sqlitebrowser binary generated seems to run OK.

All the best - jon

For I am a Bear of Very Little Brain, and
long words bother me. -- Winnie the Pooh

from sqlitebrowser.

justinclift avatar justinclift commented on May 22, 2024

Sounds like we should add build instructions for Linux too.

from sqlitebrowser.

Jonrysh avatar Jonrysh commented on May 22, 2024

On Wed, 2014-05-28 at 15:28 -0700, Justin Clift wrote:

Sounds like we should add build instructions for Linux too.

I suspect there's a typo in BUILDING, which reads, in part:

    Provided you have Qt and cmake  installed and configured, simply
    run

    qmake

    followed by

    make

When I find a Makefile in a build directory, I assume that the packager
has already run whatever is needed to generate it, and that they have
probably done a better job than I will (at least for a first cut), so in
this cas I didn't run qmake. If you want sqlitebrowser to be built
using cmake rather than make, the above should read:

    Provided you have Qt and cmake  installed and configured, simply
    run

    qmake

    followed by

    cmake

If you want me to be sure to regenerate the Makefile using cmake, you

need to say so very explicitly.

All the best - jon

"Do I contradict myself?
Very well, I contradict myself,
(I am large, I contain multitudes.)"
-- Walt Whitman

from sqlitebrowser.

justinclift avatar justinclift commented on May 22, 2024

Good point. 😄

Which distribution/version of Linux are you using?

from sqlitebrowser.

Jonrysh avatar Jonrysh commented on May 22, 2024

On Wed, 2014-05-28 at 16:32 -0700, Justin Clift wrote:

Good point. 😄

Which distribution/version of Linux are you using?

Fedora-20, all updates installed.

All the best - jon

We are Pentium of Borg. Division is futile.
You will be approximated. -- Joe Klemmer

from sqlitebrowser.

MKleusberg avatar MKleusberg commented on May 22, 2024

On Wednesday 28 May 2014 16:21:02 Jonrysh wrote:
When I find a Makefile in a build directory, I assume that the packager has already run whatever is needed to generate it, and that they have probably done a better job than I will (at least for a first cut), so in this cas I didn't run qmake.

Are you sure the Makefile was there after cloning the repository? Because as far as I see there is none checked in now. It might have been automatically created by Qt Creator, however, and Qt Creator relies on qmake by default.

You are definitely right though in pointing out that the building instructions are wrong in asking to use qmake rather than cmake - especially after suggesting cmake to be installed. Good job in noticing this :) I've fixed it in the commit mentioned above.

from sqlitebrowser.

rp- avatar rp- commented on May 22, 2024

just checked again, there is a install rule for cmake.
It doesn't do much(copy sqlitebrowser to /usr/local/bin, but its there ;)

from sqlitebrowser.

Heart1010 avatar Heart1010 commented on May 22, 2024

...so what do I have to do in order to be able to use sqlitebrowser on linux exactly (openSUSE 13.1 here)?

Thanks

from sqlitebrowser.

Jonrysh avatar Jonrysh commented on May 22, 2024

On Thu, 2014-09-18 at 03:32 -0700, Hermann Herz wrote:

...so what do I have to do in order to be able to use sqlitebrowser on
linux exactly (openSUSE 13.1 here)?

Build the binary as instructed. If "make install" doesn't put the
binary in a useful place (say in /usr/bin) copy it to such a place by
hand.

from sqlitebrowser.

justinclift avatar justinclift commented on May 22, 2024

@Heart1010 Do the instructions in the BUILDING.md file work for you?

    https://github.com/sqlitebrowser/sqlitebrowser/blob/master/BUILDING.md

from sqlitebrowser.

justinclift avatar justinclift commented on May 22, 2024

In theory, 'make install' should be working now.

Does anyone have a few minutes to test and confirm success/failure? 😄

from sqlitebrowser.

justinclift avatar justinclift commented on May 22, 2024

Closing this now, as "make install" is generally known to work ok.

If for some reason it doesn't, please feel welcome to re-open this issue or create a new one (either is good). 😄

from sqlitebrowser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.