Coder Social home page Coder Social logo

Build breaks on Linux about dact HOT 8 CLOSED

larsmans avatar larsmans commented on June 9, 2024
Build breaks on Linux

from dact.

Comments (8)

jelmervdl avatar jelmervdl commented on June 9, 2024

Sorry, I can't reproduce this. I did a clean checkout of Dact in another directory and built the dbxml branch without any problems. I'm now trying it to build on a local linux box.

from dact.

jelmervdl avatar jelmervdl commented on June 9, 2024

I think I've found it. I've replaced some of the native widgets with my own, DactTreeView and DactListWidget. We use CamelCase for your filenames, but the ui_* classes generated by Qt include all-lowercase filenames.

I could build the dbxml branch of Dact on my linux box after adding:
include/dactlistwidget.h containing: #include "DactListWidget.h"
include/dacttreeview.h containing: #include "DactTreeView.h"

Does that fix it? And how do we fix this in the future? Do we add these files to the codebase, or do we rename the files in include/?

from dact.

larsmans avatar larsmans commented on June 9, 2024

I tried renaming the files to lowercase but that didn't fix it; we need files with both names (a symlink also solved the problem, but I found that too ugly). I suggest switching to lowercase-only source file names from now on. I'll start working on this tomorrow.

(Switching to lowercase will also save typing.)

from dact.

larsmans avatar larsmans commented on June 9, 2024

Fixed by lowercasing two files.

from dact.

danieldk avatar danieldk commented on June 9, 2024

I would still like to see them in uppercase. I'll look into this when I have some time...

from dact.

jelmervdl avatar jelmervdl commented on June 9, 2024

You can specify the header file in the interface xml files. I'm on it.

from dact.

jelmervdl avatar jelmervdl commented on June 9, 2024

Fixed in 7404aad and tested it on Linux. It seems to work :)

from dact.

danieldk avatar danieldk commented on June 9, 2024

Great!

from dact.

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.