-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Unable to use Fluid in QtCreator on Linux #256
Comments
@daljit97 , have you tried "make install"? |
Ok so I did that and then I added all the fluid/qml files into the qrc of my app. But now I get the following error:
|
Could you show full project? You can try to use qbs. Example
// ras.qbs
import qbs
import qbs.FileInfo
Project {
minimumQbsVersion: "1.7.1"
CppApplication {
Depends {
name: "Qt"
submodules: [
"core",
"quick",
"gui",
"quickcontrols2",
"sql",
"widgets",
"multimedia",
"qml",
"opengl",
"concurrent"
]
}
Depends { name: "lirideployment" }
name: "ras"
property pathList qmlImportPaths: [
FileInfo.joinPaths(qbs.installRoot,
qbs.installPrefix,
lirideployment.qmlDir),
sourceDirectory
]
cpp.cxxLanguageVersion: "c++11"
cpp.includePaths: [
"cpp",
"cpp/goodies",
"cpp/wrappers",
"cpp/models",
]
cpp.defines: [
"USE_QML"
]
files: [
"cpp/*.cpp",
"cpp/*.h",
"cpp/goodies/*.cpp",
"cpp/goodies/*.h",
"cpp/models/*.cpp",
"cpp/models/*.h",
"cpp/wrappers/*.cpp",
"cpp/wrappers/*.h",
"*.qrc",
]
qbsSearchPaths: [
"third_party/fluid/qbs/shared",
"third_party/fluid/qbs/local"
]
// Properties for the produced executable
Group {
fileTagsFilter: "application"
qbs.install: true
}
}
SubProject {
filePath: "third_party/fluid/fluid.qbs"
Properties {
withDocumentation: false
withDemo: false
autotestEnabled: false
}
}
}
.gitmodules
|
@luntik2012 is qbs supported on Android? |
AFAIK qbs doesn't work for Android. To install Fluid for Android:
|
Unfortunately qbs doesn't provide the |
@daljit97 Did you see the example on how to integrate Fluid in your qmake project? |
That error appear because you don't have one of the dependencies installed: |
I cannot seem to make Fluid work inside my project. I have cloned Fluid inside my project folder, then I used INCLUDEPATH and QML2_IMPORT_PATH to include the necessary folders. I also tried with qputenv("QML2_IMPORT_PATH", "fluid/qml"), but nothing works (I always get
Fluid.Controls is not installed
). I am on Linux. I have checked the previous issues on this topic but none of them seems to work.The text was updated successfully, but these errors were encountered: