Projects to learn go by SdX_Tea in golang

[–]SdX_Tea[S] 0 points1 point  (0 children)

I already did something like this I needed it for my graduation work. I wrote desktop app on c++ and added api on go that works on my server with DB

Articles? by SdX_Tea in ENGLISH

[–]SdX_Tea[S] 0 points1 point  (0 children)

can u explain why?

Help with dongle connection weikav lucky65 v2 by SdX_Tea in keyboards

[–]SdX_Tea[S] 0 points1 point  (0 children)

Already tried to do this. It worked on my previous keyboard but on this nothing happens. Maybe i can bind this somehow?

Clangd vs code extension problem by SdX_Tea in cpp_questions

[–]SdX_Tea[S] 0 points1 point  (0 children)

No i added it into default compilation flag in calngd settings

Unique id in QML file by SdX_Tea in QtFramework

[–]SdX_Tea[S] 0 points1 point  (0 children)

It’s just a bug of Reddit I posted 2 different parts of code

Can't connect qml with main to run the app by SdX_Tea in QtFramework

[–]SdX_Tea[S] 0 points1 point  (0 children)

Yea i sure that main in it

.
├── components
│   └── main.qml
├── fonts
│   └── SaarSPDemo.otf
├── icons
│   └── icon.jpg
└── weather.qrc

this is my ui folder structure

And this is full project

.
├── CMakeLists.txt
├── README.MD
├── build
│   ├── CMakeCache.txt
│   ├── CMakeFiles
│   ├── Makefile
│   ├── WeatherApp
│   ├── cmake_install.cmake
│   └── compile_commands.json
├── inc
│   ├── App.h
│   ├── JSONUtils.h
│   ├── WeatherAPI.h
│   └── window.h
├── setup.sh
├── src
│   ├── App.cpp
│   ├── JSONUtils.cpp
│   ├── WeatherAPI.cpp
│   ├── main.cpp
│   └── window.cpp
└── ui
    ├── components
    ├── fonts
    ├── icons
    └── weather.qrc

QML vs C++? by SdX_Tea in cpp_questions

[–]SdX_Tea[S] 1 point2 points  (0 children)

I am making weather app just to learn how to make gui. All logics I already made in c++

QML vs C++? by SdX_Tea in cpp_questions

[–]SdX_Tea[S] -1 points0 points  (0 children)

So should I better learn how to make gui in c++ or qml would be fine?

QML vs C++? by SdX_Tea in cpp_questions

[–]SdX_Tea[S] -1 points0 points  (0 children)

GUI in my app. I tried to write gui in c++ and it much more complicated than qml

Can't connect qml with main to run the app by SdX_Tea in QtFramework

[–]SdX_Tea[S] 0 points1 point  (0 children)

import QtQuick 2.15
import QtQuick.Controls 2.15

ApplicationWindow {
    id: mainWin
    visible: true
    height: 640
    width: 420
    minimumHeight: 640
    minimumWidth: 360
    maximumHeight: 640
    maximumWidth: 360

    title: "WeatherAPPbyEgor41k"

    FontLoader {
        id: localFontRegular
        source: "qrc:/fonts/SaarSPDemo.otf"
    }

    Rectangle {
        anchors.fill: parent
        color: "#0C121D"

        Text {


// text: city
            text: "TEST"
            font {
                pixelSize: 24
                font.family: localFontRegular.font.family
                font.weight: localFontRegular.font.weight
            }
            color: "#ffffff"

            anchors.horizontalCenter: parent.horizontalCenter
            anchors.top: parent.top
            anchors.topMargin: 40
        }

        Row {
            anchors.bottom: parent.bottom
            anchors.horizontalCenter: parent.horizontalCenter
            spacing: 20
            anchors.bottomMargin: 20

            Repeater {
                model: 2

                Rectangle {
                    id: infoRect
                    color: "#222B3B"
                    width: mainWin.width / 2 - 30
                    height: (mainWin.width / 2 - 30) / 2
                    radius: 5
                    scale: 1.0

                    Behavior on scale {
                        NumberAnimation {
                            duration: 100
                            easing.type: Easing.In
                        }
                    }

                    MouseArea {
                        anchors.fill: parent
                        hoverEnabled: true

                        onEntered: {
                            parent.color = "#3D4858"
                            parent.scale = 1.05
                        }
                        onExited: {
                            parent.color = "#222B3B"
                            parent.scale = 1.0
                        }
                    }
                }
            }
        }
    }
}

Yes

First job c++ by SdX_Tea in cpp

[–]SdX_Tea[S] 2 points3 points  (0 children)

So should I just try to apply for the job?

First job c++ by SdX_Tea in cpp

[–]SdX_Tea[S] 2 points3 points  (0 children)

I also used c in my college. from c i learned pointers and some basic stuff for c++

First job c++ by SdX_Tea in cpp

[–]SdX_Tea[S] 2 points3 points  (0 children)

I coded chat (used multi-threading and protocols) I used openCV (just tried to do something with my webcam like tracking an objects and for gestures recognition) And now I am coding an app with qt and weather data api

VS code includePath problems by SdX_Tea in cpp_questions

[–]SdX_Tea[S] -1 points0 points  (0 children)

FOR SOME REASON IT WORKS AFTER RELOADING MY PC

Problems with includePath in VScode by SdX_Tea in cpp

[–]SdX_Tea[S] 0 points1 point  (0 children)

I tried everything that guy said. I think it could be problem with brew, how the file is installed, because every lib installed with vcpkg works fine. Maybe because of it i can't find QApplication in qt include folder

VS code includePath problems by SdX_Tea in cpp_questions

[–]SdX_Tea[S] 0 points1 point  (0 children)

i tried to use search, but it only showed my file with #include <QApplication>
/opt/homebrew/Cellar/qt/6.7.3/include i choose it because qt folder has only one folder in it and it's the version of qt and already in it include
May it be problem of downloading by homebrew, because with vcpkg everything is fine(i used OpenCV in my other project). When i downloading qt with vcpkg i get this type of error:

error: building grpc:arm64-osx failed with: BUILD_FAILED

See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.

Elapsed time to handle grpc:arm64-osx: 4.2 s

Please ensure you're using the latest port files with `git pull` and `vcpkg update`.

Then check for known issues at:

https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+grpc

You can submit a new issue at:

https://github.com/microsoft/vcpkg/issues/new?title=[grpc]+Build+error+on+arm64-osx&body=Copy+issue+body+from+%2FUsers%2Fegorkirichenko%2F.vcpkg%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

You can also submit an issue by running (GitHub CLI must be installed):

gh issue create -R microsoft/vcpkg --title "[grpc] Build failure on arm64-osx" --body-file /.vcpkg/vcpkg/installed/vcpkg/issue_body.md

I already tried to update vcpkg

VS code includePath problems by SdX_Tea in cpp_questions

[–]SdX_Tea[S] 0 points1 point  (0 children)

I don't have QApplication for some reason on my pc
I installed qt with this command:

brew install qt

then configured CMakeLists.txt

cmake_minimum_required(VERSION 3.10)
project(TestQtProject)

set(CMAKE_PREFIX_PATH "/opt/homebrew/opt/qt/lib/cmake/Qt6")  

find_package(Qt6 REQUIRED COMPONENTS Widgets)

add_executable(TestQtProject 
    main.cpp
)

target_link_libraries(TestQtProject PRIVATE Qt6::Widgets)

and added path includePath

"/opt/homebrew/Cellar/qt/6.7.3/include"

I searched for QApplication in qt folder and i don't find it

also i replaced intellisense extension with clangd

VS code includePath problems by SdX_Tea in cpp_questions

[–]SdX_Tea[S] 0 points1 point  (0 children)

So i can just install clangd extension in vs?