Skip to content

Bug in the automatic opening after creating a project based on cmake #45

@Lazy-Xi

Description

@Lazy-Xi

Describe the bug
After creating a Qt project built using cmake, if there are spaces in the parent folder, the folder before the first space will be opened.

What I meet: creating a project in the folder C:\Users\Xi\OneDrive - 6fjklk\code\C++\Qt Projects\test\, what we expect is to open the folder C:\Users\Xi\OneDrive - 6fjklk\code\C++\Qt Projects\test\, but the automatically opened folder is C:\Users\Xi\OneDrive\.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new project
  2. Choose a Qt project option, taking Qt Widgets Application as an example, then click Next
  3. Specify project name and location, taking project name test and location C:\Users\Xi\OneDrive - 6fjklk\code\C++\Qt Projects\ as an example, then click Create

Image

  1. Ater the Wizard open, click Next
  2. Choose CMake project for Qt as Build System, then click Next

Image

  1. Click Finish
  2. See error

Expected behavior
After creating, the folder C:\Users\Xi\OneDrive - 6fjklk\code\C++\Qt Projects\test\ will be opened.

Desktop (please complete the following information):

  • Qt VS Tool Version: 3.3.1 (rev.1)
  • Visual Studio version: VS2022 Professional

Additional context
This problem may have something to do with language. When I choose English as Visual Studio language, the problem cannot be reproduced. However, when I choose Chinese, I can reproduce the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions