Qt Creator - Link with Qt: Qt Installation path example:
D:\Qt\Tools\sdktool\share\qtcreator
Qt Creator - Link with Qt: Qt Installation path example:
D:\Qt\Tools\sdktool\share\qtcreator
| // List of resources embedded in a Qt application | |
| QDirIterator it(":", QDirIterator::Subdirectories); | |
| while (it.hasNext()) | |
| { | |
| QString dir = it.next(); | |
| qDebug() << dir; | |
| // /icons/. | |
| // /icons/logo.svg | |
| // ... |
| // Determine the horizontal position | |
| bool left = x <= MARGIN; | |
| bool right = x >= w - MARGIN; | |
| // Determine the vertical position | |
| bool top = y <= MARGIN; | |
| bool bottom = y >= h - MARGIN; | |
| if (left && top) { | |
| setCursor(Qt::SizeFDiagCursor); // Top-Left corner ( \ ) |
| // work in progress | help required | |
| void PatternEditor::randomizePatterns() | |
| { | |
| TrackContainer::TrackList tl = model()->tracks(); | |
| // @todo Skip counting unsunpported tracks | |
| int tracks = tl.size(); | |
| if(tracks>24) | |
| { |
| ``` | |
| use Illuminate\Support\Facades\DB; | |
| ... | |
| public function boot(): void | |
| { | |
| DB::statement("ATTACH DATABASE '/path/database2.db' AS db2;"); | |
| } | |
| ``` |
| using Microsoft.AspNetCore.Mvc; | |
| namespace web.Controllers | |
| { | |
| public class EndPointDTO | |
| { | |
| public string? name { get; set; } | |
| public string? pattern { get; set; } | |
| public List<string>? methods { get; set; } | |
| } |
| # Author: @anytizer, 2025-10-25 | |
| # Advanced usages: | |
| # python lmms-zyn.py > lmms-zyn.csv | |
| # Helps to analyze zynaddsubfx presets (compressed files) | |
| # Compare with original release repo and LMMS Embedded Presets | |
| import os | |
| import hashlib |
| # Creating a git Repo over HTTP(s) | |
| It could be riskier to use git over http(s). | |
| Use alternatives when possible. | |
| Reference materials | |
| - https://git-scm.com/docs/git-update-server-info.html | |
| - https://git-scm.com/book/en/v2/Git-on-the-Server-Smart-HTTP | |
| - https://web.mit.edu/git/www/howto/setup-git-server-over-http.html |
| <phpunit bootstrap="bootstrap.php" colors="true"> | |
| <testsuites> | |
| <testsuite name="unit"> | |
| <directory suffix="Test.php">cases</directory> | |
| </testsuite> | |
| </testsuites> | |
| <logging> | |
| <testdoxText outputFile="testdox.txt"/> | |
| </logging> | |
| </phpunit> |
Lower cased API Endpoints in Program.cs
builder.Services.AddRouting(options => options.LowercaseUrls = true);